NetTalk Central

Author Topic: Thread Pool vs Thread Number  (Read 1648 times)

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Thread Pool vs Thread Number
« on: April 28, 2021, 01:06:07 AM »
I am puzzled by some of the diagnostic information on my NT Webserver app.

On the "Performance" page it shows a thread pool of zero. On the "Log" page it shows thread numbers of 0, 3 and 4.

Are these different concepts?

The reason I ask is that I'm getting a "Memory block free'd twice" random error on my internet-facing server app and I'm wondering if there is some default I need to fix.
If you're happy with your security, then so are the bad guys

Vinnie

  • Full Member
  • ***
  • Posts: 175
    • View Profile
    • Email
Re: Thread Pool vs Thread Number
« Reply #1 on: April 28, 2021, 02:27:34 AM »
Hi Don.
Thread Pools are Threads which can be opened in advanced of being required.

Threads are the number of threads currently open.

In most cases Thread Pools is NOT required because threads are opened and closed quickly.

If your system is complex (many Data Files) or slow, Thread pools can be opened in advanced and can be used later which will save time opening the new thread when the request arrives.

Hope I have explained OK.

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11171
    • View Profile
Re: Thread Pool vs Thread Number
« Reply #2 on: April 28, 2021, 03:21:00 AM »

DonnEdwards

  • Jr. Member
  • **
  • Posts: 56
    • View Profile
    • Insights and Rants
    • Email
Re: Thread Pool vs Thread Number
« Reply #3 on: April 28, 2021, 04:04:49 AM »
Thanks Vinnie and Bruce.
I guess RTFM is in order  8)
If you're happy with your security, then so are the bad guys