提高IIS并发数量设置

1. 修改IIS应用程序池队列长度

高级设置里,队列长度修改为 65535

2. 修改IIS的 appConcurrentRequestLimit 设置

 默认值是5000,修改为50000(或者更大的值)

c:\windows\system32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:50000

在%systemroot%\System32\inetsrv\config\applicationHost.config中可以查看到该设置:

<serverRuntime appConcurrentRequestLimit="50000" /> 

3. 修改machine.config中的processModel>requestQueueLimit的设置

 由原来的默认5000改为50000

<processModel enable="true" requestQueueLimit="50000"/>

4. 修改注册表,调整IIS 7支持的同时TCPIP连接数

reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000 

5. 重启服务,设置生效 

net stop http  & net start  http & iisreset 

 

 转载至:https://www.cnblogs.com/stealth7/p/9013039.html
發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章