## 一、参考 https://www.cnblogs.com/valu/p/6901455.html 大概如下 4 步 1. 调整IIS 7应用程序池队列长度 二、调整IIS 7的appConcurrentRequestLimit设置 三、调整machine.config中的processModel>requestQueueLimit的设置 4. 修改注册表,调整IIS 7支持的同时TCPIP链接数 ## 到了 第 2 步 老是提示: 找不到标识符section:serverRuntime 之类错误 ## 找到微软文档,学习 appcmd。exe 操做 Server Runtime <serverRuntime> https://docs.microsoft.com/en-us/iis/configuration/system.webServer/serverRuntime 找到他的 3 个范例 appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /enabled:"True" /commit:apphost appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /frequentHitThreshold:"5" /commit:apphost appcmd.exe set config "Default Web Site" -section:system.webServer/serverRuntime /frequentHitTimePeriod:"00:00:20" /commit:apphost ## 照猫画虎写了一条 c:\windows\system32\inetsrv\appcmd.exe set config “att” -section:system.webServer/serverRuntime /appConcurrentRequestLimit:"100000" /commit:apphost 而后再执行,提示: 已经在配置提交路径“MACHINE/WEBROOT/APPHOST”向“MACHINE/WEBROOT/APPHOST/att”的“system.webServer/serverRuntime”节应用了配置更改 ## 到了第三步, 找到machine.config文件位置 C:\Windows\Microsoft.NET\Framework64\v4.0.30319\Config 找到 健 processModel,他的设置是 <processModel autoConfig="true"/> 改为 <processModel enable="true" requestQueueLimit="100000" /> ## 而后,其余步骤都正确 ## 5. 运行命令使用设置生效 net stop http & net start http & iisreset