Increase number of threads per worker process IIS

久未见 提交于 2019-12-03 23:11:24

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

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>

In Application Pool > Advanced Settings > Maximum Worker Processes

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!