How can I change the number of threads IIS uses?
January 8, 2000
A. IIS uses multiple threads to enable efficient scaling on single andmulti-processor systems. By default 10 threads are used however this number canbe changed but before changing you need to monitor the following items usingPerformance Monitor
Process - Thread Count - Inetinfo
Thread - %Processor Time - Inetino - Thread no.
Thread - Context Switches/sec - Inetino - Thread no.
If the IIS threads are busy nearly all the time AND the processor(s) are atmaximum usage you need to consider distributing the load among other servers oradding more processors, increasing the number of threads will NOT help.
If the IIS threads are busy nearly all the time but the processor(s) are NOTat maximum usage increasing the number of threads may help.
To increase perform the following:
Start the registry editor (regedit.exe)
Move to HKEY_LOCAL_MACHINESYSTEMCurrentControlSetServicesInetinfoParameters
From the Edit menu select New - DWORD value
Enter a name of MaxPoolThreads and press Enter
Double click the new value and set to between 5 and 20. Never more or less. Click OK
Stop and start the IIS service
About the Author
You May Also Like