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