HTTP 错误 500.13 - 服务器错误:Web 服务器太忙

  如果访问网站的时候出现500.13-Web Server Too Busy 500.13 - Web服务器太忙,如下所示

该页无法显示
此时无法处理请求。通讯量超出网站的配置能力。 
----------------------------------------------

请尝试以下操作:

单击刷新按钮,或稍后再试。 
如果仍旧有错误,请与网站管理员联系以通知他们此 URL 地址仍存在该错误。 
HTTP 错误 500.13 - 服务器错误:Web 服务器太忙。


  那么应该是程序池的队列已经被占用完了,下一个请求到来是队列还是满的,就会出现HTTP 错误 500.13 - 服务器错误:Web 服务器太忙错误。
 

  解决办法:尝试将程序池的请求队列限制取消掉或者修改为一个更大的值,默认值3k。

IIS6程序池性能请求队列限制


  下面为英文的解释,英语不是很好,大概翻译了一下,大家看得懂就好,嘿嘿

ASP requests are executed by threads from a pool of threads whose size is limited to 25 threads per processor, by default.
 每个cpu处理器执行asp请求的线程池大小默认为25.【给这些线程起名为执行线程吧,后面好引用】

If more ASP requests arrive than there are threads available to execute them, ASP places the extra requests in a queue, where they wait until a thread becomes available.
如果asp当前请求数量超过了执行线程的数量【就是大于25请求】,asp会将这些额外的请求放到一个队列中,直到有执行线程执行完变为可用时才从队列中取下一个asp请求来执行。

By default, this queue is limited to 3000 requests.
默认的,这个请求队列大小为3000.

If the queue becomes full, the next ASP request, instead of being queued, causes a 500.13-Web server too busy error.
如果这个队列满了,当下一个asp请求到来时,不会放入队列中,而是触发500.13-Web Server Too Busy 500.13 - Web服务器太忙错误。

The number of requests that can wait in the queue is controlled by the AspRequestQueueMax metabase property.
等待执行的asp队列大小可以通过AspRequestQueueMax控制【AspRequestQueueMax在默认配置文件metabase.xml中,metabase.xml存在于如:C:\WINDOWS\system32\inetsrv目录下,如果系统盘不一样,注意位置】
 

Change the AspRequestQueueMax property to produce the desired user experience — a smaller queue allows users to more quickly see the 500.13 error when ASP requests are backed up.
修改spRequestQueueMax配置可以满足用户需要的体验 - 如一个小的队列用户将会很快的看到500.13Web服务器太忙错误错误如果asp请求很大时【明白backed up什么意思,谷歌翻译是备份的意思,但是上下看起来应该是请求量大的意思。】

If users encounter this error, select the Active Server Pages/Requests Queued performance counter check box.
如果用户碰到500.13错误,勾选Active Server Pages/Requests队列性能计数复选框。【这个应该是在IIS6程序池配置里面,如上图】

If the queue fills up, but ultimately empties again, or if the queue remains partially filled but requests move through very quickly, there probably is not a problem, just a spike in traffic.
如果队列满了,但是很快又清空,或者队列一直有请求在里面但是执行线程很快处理这些队列里的请求时,这个应该不是个问题,只是一个访问高峰期。

However, if the queue remains partially or completely full for a sustained period and requests do not appear to be moving through quickly enough, there might be a problem.
但是,如果队列一直有请求或者是满的这种状态持续一段时间,而且执行线程对队列的处理不是很快,这可能就是个大问题了【如读取数据库语句没优化,都是select * from xxx等导致程序性能低下】。

Diagnosing a problem of this type can be a complex process.
诊断这个问题是一个复杂的过程

For information about diagnosing such problems, see Advanced IIS Troubleshooting with Tracing and Debugging .
要了解如何诊断这些问题,可以看考IIS高级故障诊断与追踪和调试

加支付宝好友偷能量挖...


原创文章,转载请注明出处:HTTP 错误 500.13 - 服务器错误:Web 服务器太忙

评论(0)Web开发网
阅读(684)喜欢(0)操作系统及应用软件