Increase number of threads per worker process IIS

感情迁移 提交于 2019-12-05 11:22:44

问题


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



来源:https://stackoverflow.com/questions/17599939/increase-number-of-threads-per-worker-process-iis

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