Increase number of threads per worker process IIS

2019-06-15 00:35发布

问题:

How do you increase the number of threads per worker process in IIS?

回答1:

Using IIS this can be done. I searched everywhere, so I decided to put this out here for everyone to use this information.

Click on the server. Then on the right side pane, double click on ASP.

Increase the number of threads per processor



回答2:

Using config files

For example:

%windir%\Microsoft.NET\Framework64[version]\config\machine.config

 <configuration>
 <system.net>
         <connectionManagement>
             <add address="*" maxconnection="24" />
         </connectionManagement>
     </system.net>
     <system.web>
         <processModel autoConfig="true"
             maxWorkerThreads = "100"
             maxIoThreads = "100"
             minWorkerThreads = "50"
             minIoThreads = "50"
         />
         <httpRuntime 
             minFreeThreads="176" 
             minLocalRequestFreeThreads="152" 
         />
     </system.web>
</configuration>


回答3:

In Application Pool > Advanced Settings > Maximum Worker Processes