让Windows Server 2008 + IIS 7+ ASP.NET 支持10万个同时请求
具体设置如下:1. 调整IIS 7应用程序池队列长度由原来的默认1000改为65535。IIS Manager > ApplicationPools > Advanced SettingsQueue Length : 655352.调整IIS 7的appConcurrentRequestLimit设置由原来的默认5000改为100000。c:\windows\system32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000在%systemroot%\System32\inetsrv\config\applicationHost.config中可以查看到该设置:<serverRuntime appConcurrentRequestLimit="100000" />
3. 调整machine.config中的processModel>requestQueueLimit的设置由原来的默认5000改为100000。<configuration>
<system.web>
<processModel requestQueueLimit="100000"/>
参考文章:http://technet.microsoft.com/en-us/library/dd425294(office.13).aspx4. 修改注册表,调整IIS 7支持的同时TCPIP连接数由原来的默认5000改为100000。reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000 完成上述4个设置,就可以支持10万个同时请求。
页:
[1]