windows Server 2008 IIS7 503错误解决方案
时间:2022-10-03 15:53:51
windows 2008 R2 在访问的时候经常会出现503错误,于之前使用的是默认配置,服务器最多只能处理5000个同时请求,今天下午由于某种情况造成同时请求超过5000,下面是具体的解决方案windows 2008 R2 在访问的时候经常会出理 503错的解决方案
Error Summary:
HTTP Error 503.2 - Service Unavailable
The serverRuntime@appConcurrentRequestLimit setting is being exceeded.
Detailed Error Information:
Module IIS Web Core
Notification BeginRequest
Handler StaticFile
Error Code 0x00000000
由于之前使用的是默认配置,服务器最多只能处理5000个同时请求,今天下午由于某种情况造成同时请求超过5000,从而出现了上面的错误。
为了避免这样的错误,我们根据相关文档调整了设置,让服务器从设置上支持10万个同时请求。
具体设置如下:
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。
复制代码
参考文章:http://technet.microsoft.com/en-us/library/dd425294(office.13).aspx
4. 修改注册表,调整IIS 7支持的同时TCPIP连接数
由原来的默认5000改为100000。
reg add HKLM\System\CurrentControlSet\Services\HTTP\Parameters /v MaxConnections /t REG_DWORD /d 100000
完成上述4个设置,就可以支持10万个同时请求,西西软件服务器已经启用上述设置。
![](/images/zang.png)
![](/images/jiucuo.png)
猜你喜欢
兽人必须死进去黑屏了怎么办?
![](https://img.aspxhome.com/file/2023/1/a275752_0s.png)
Win10局域网找不到工作组计算机怎么办?
![](https://img.aspxhome.com/file/2023/25/a218849_0s.png)
Win7系统怎么改文件的扩展名?
![](https://img.aspxhome.com/file/2023/27/a230523_0s.jpg)
excel2010怎么插入excel文件?Excel2010插入excel文件教程
![](https://img.aspxhome.com/file/2023/0/40260_0s.jpg)
ppt怎么将汉字笔画制作成背景图?
![](https://img.aspxhome.com/file/2023/10/a345675_0s.jpg)
Word文档中首字下沉怎么弄
[视频]微软展示如何轻松移植iOS/Android应用到Win10上
![](https://img.aspxhome.com/file/2023/28/a250416_0s.jpg)
小影如何添加自己的音乐 小影添加音乐方法
![](https://img.aspxhome.com/file/2023/8/a339364_0s.jpg)
百度网盘青春版有什么区别 百度网盘青春版区别详解
![](https://img.aspxhome.com/file/2023/1/a280861_0s.jpg)
srvc32.exe - srvc32是什么进程
Mac新手教程:如何把Mac桌面上的应用转移到另一个桌面?
![](https://img.aspxhome.com/file/2023/5/a204125_0s.jpeg)
使用PowerPoint2003制作精美的电子相册
![](https://img.aspxhome.com/file/2023/10/a347123_0s.jpg)
Win10输入法失效只能打英文怎么解决?
![](https://img.aspxhome.com/file/2023/26/a219501_0s.png)
PPT对齐、重复、对比、亲密性这四大基本排版设计原则
![](https://img.aspxhome.com/file/2023/10/a351851_0s.jpg)
win10打开ie桌面就出现temp文件夹怎么办?
![](https://img.aspxhome.com/file/2023/4/a310917_0s.jpg)
Win10电脑中D盘不见了怎么办?D盘恢复方法
![](https://img.aspxhome.com/file/2023/26/a222936_0s.jpg)
如何通过 Apple Watch 解锁 Mac
![](https://img.aspxhome.com/file/2023/4/a210714_0s.png)
西贝柳斯是什么软件?Sibelius 8 for Mac有哪些功能?
![](https://img.aspxhome.com/file/2023/9/a213129_0s.jpeg)
Word中2007版进行实现窗口并排查看的操作方法
win10系统崩溃了怎么一键还原_win10系统崩溃了一键还原
![](https://img.aspxhome.com/file/2023/4/a303826_0s.png)