windows2008 WEB服务器IIS7优化配置

来源:互联网 发布:python运行 编辑:程序博客网 时间:2024/05/18 03:28
一、调整IIS7应用程序池队列长度
1.由原来的默认1000改为65535

2.IIS管理器→应用程序池→高级设置→列队长度→65535



二、调整IIS7的appConcurrentRequestLimit设置
1.由原来的默认5000改为100000,直接运行:
C:\Windows\System32\inetsrv\appcmd.exe set config /section:serverRuntime /appConcurrentRequestLimit:100000
2.运行后可直接查看结果:
%systemroot%\System32\inetsrv\config\applicationHost.config    serverRuntime→appConcurrentRequestLimit


三、调整machine.config中的processModel>requestQueueLimit
%systemroot%\Microsoft.NET\Framework\v2.0.50727\CONFIG\machine.config
<processModel requestQueueLimit="100000"/>


四、修改注册表,调整IIS7支持的同时TCPIP连接数
1.由原来的默认5000改为100000
2.直接在命令行运行
reg add HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000


原创粉丝点击