一般来说出现“Service Temporarily Unavailable”的原因是访问量过大,造成了访问超限和并发数目大引起的资源超限。解决办法一个是升级空间到更佳配置,一个是检查网站系统程序,进行优化。
错误展示:
Service Temporarily UnavailableThe server is temporarily unable to service yourrequest due to maintenance downtime or capacityproblems. Please try again later. |
指定出现该错误后指向的页面:
编辑
/usr/prima/apache_ssl/conf/httpd.conf
找到<IfModule mod_throttle.c>,在块中加入
ThrottleMaxDelay 0
重起apache
在httpd.conf中加入:
ErrorDocument 503 /busy.html
这样一旦再出现Service Temporarily Unavailable错误,就会直接指向到busy.html页面了!