IIS支持10万个同时请求的设置
2024-08-24 20:22:40
1. 调整IIS 7应用程序池队列长度
由原来的默认1000改为65535。
IIS Manager > ApplicationPools > Advanced Settings
Queue Length : 65535
2. 调整IIS 7的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。
<configuration>
<system.web>
<processModel requestQueueLimit="100000"/>
4. 修改注册表,调整IIS 7支持的同时TCPIP连接数
由原来的默认5000改为100000。直接在命令行运行
reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 1000000
完成上述4个设置,就可以支持10万个同时请求。
最新文章
- Markdown:认识&;入门
- python打怪之路【第二篇】:ImportError: No module named setuptools
- Unity UGUI RectTransform图解
- 打开office2010里面的access,总是提示要配置Office single image
- C# 如何用计时器Timer控件实现停留几秒再做切换窗体的操作
- tcpdump抓包规则命令大全
- HtmlParser的使用-爬虫学习(三)
- MySQL的保留关键字,使用时尽量避免
- 一个Cmake的例子
- 深度学习之循环神经网络(RNN)
- 腾讯微信被怼,iOS版微信不能打赏了
- js实现表单提交submit(),onsubmit
- mysql 多个字段 order by
- ORB_SLAM2 源码阅读 ORB_SLAM2::Initializer
- linked-list-random-node
- WPF 设置TextBox为空时,背景为文字提示
- Google protobuf使用技巧和经验
- 什么是SAP GUI的client
- IPReversePathFilter
- 【VBA编程】14.操作工作簿对象
热门文章
- Springboot use tomcat JNDI
- solarwind之network Atlas
- 深入分析C++虚函数表
- Codeforces Round #470 (rated, Div. 2, based on VK Cup 2018 Round 1)B. Primal Sport
- Parse error: syntax error, unexpected &#39;__data&#39; (T_STRING), expecting &#39;,&#39; or &#39;)&#39;
- 一些html5
- [Atcoder Code Festival 2017 Qual A Problem D]Four Coloring
- python_函数、局部变量与全局变量
- 2019-03-20 用SSIS把Excel中的数据导出来保存到SQLServer中
- 51 nod 1693 水群