要提高iis服务器的同时请求数,可以按如下方法设置(下面以支持同时10万个请求为例):

1. 调整IIS应用程序池队列长度
由原来的默认1000改为65535。

IIS Manager > ApplicationPools > Advanced Settings > Queue Length : 65535
2. 调整IIS的appConcurrentRequestLimit设置
由原来的默认5000改为100000。
c:\windows\system32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000
在%systemroot%\System32\inetsrv\config\applicationHost.config中可以查看到该设置
3. 调整machine.config中的processModel > requestQueueLimit的设置
由原来的默认5000改为100000。
<processModel requestQueueLimit="100000"/>
4. 修改注册表,调整IIS支持的同时TCPIP连接数
由原来的默认5000改为100000
reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameteris /v MaxConnections /t REG_DWORD /d 100000

相关文章:

  • 2022-01-28
  • 2021-05-07
  • 2022-01-18
  • 2022-12-23
  • 2021-10-09
  • 2021-09-26
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-06-08
  • 2022-12-23
  • 2021-09-28
  • 2022-12-23
  • 2022-02-06
  • 2021-08-13
相关资源
相似解决方案