修改IIS7并发连接数目限制

转自原文 修改IIS7并发连接数目限制

1. 调整IIS 7应用程序池队列长度  

  由原来的默认1000改为65535.  

  IIS Manager > ApplicationPools > Advanced Settings  

  Queue Length : 65535 

2.  调整IIS 7的 appConcurrentRequestLimit 设置  

  由原来的默认5000改为100000. 

    appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000  

  在%systemroot%System32inetsrvconfigapplicationHost.config中可以查看到该设置。  

3. 调整machine.config中的processModel>requestQueueLimit的设置  

  由原来的默认5000改为100000.  

<configuration>  

<system.web>  

<processModel requestQueueLimit=“100000”/>  

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

  由原来的默认5000改为100000.  

  reg add HKLMSystemCurrentControlSetServicesHTTPParameters /v MaxConnections /t REG_DWORD /d 1000000</pre

原文地址:https://www.cnblogs.com/arxive/p/6534666.html