What is the 503 error with Service Temporarily Unavailable?

  • 2020-05-06 12:11:11
  • OfStack

In general, the Service Temporarily Unavailable error is mostly due to the large amount of traffic to the site, resulting in traffic overload or resource overload caused by the large number of concurrent errors. One solution is to upgrade your space to a better configuration, or to check your web application to make it better.

error display:

Service Temporarily Unavailable

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later.

solution:

1, if you think there is no problem with their own website procedures, then it should be too much space restrictions caused by the system resources shortage of errors, you can consider changing the space.

2, if the space is not a problem, then it is necessary to carefully check the website program whether there is a dead loop or memory leak problems.

3. Let Service Temporarily Unavailable automatically redefine
to page 503
If you have an Service Temporarily Unavailable problem and do not want to display the error page directly, you can specify the error page. The following method can be used under Apache:

editor

/usr/prima/apache_ssl/conf/httpd.conf
Find < IfModule mod_throttle.c > , adding
to the block ThrottleMaxDelay 0
Restart apache
Add:
to httpd.conf ErrorDocument 503 /busy.html
Once the Service Temporarily Unavailable error occurs again, it will point directly to the busy.html page!

supplement 1

In fact,
is generally caused by the excessive load of web server. Under the temporary solution of increasing the bandwidth or using cdn to accelerate, the number of connections of iis or apache should increase according to their own traffic. Generally, the number of connections of iis or apache should increase according to their own traffic
complements 2

Problem
Service Temporarily Unavailable

Solution
This is caused by the user site using more bandwidth than the set maximum.
To avoid displaying this error message, you can add a configuration to the apache(Unix platform's most popular WEB server platform) configuration that slows down access when bandwidth is exceeded, rather than immediately displaying the error message.
Edit/usr/Prima (the most perfect virtual host management system)/apache (the most popular WEB Unix platform server platform) _ssl conf/httpd. conf, find < IfModule mod_throttle.c > , adding
to the block ThrottleMaxDelay 0
apache (Unix most popular WEB server platform) :
/etc/init.d/httpd restart
Can also edit a html file, display server busy on/www icons/busy html, in httpd. Add: conf
ErrorDocument 503 /icons/busy.html

2 May be resin (a free JSP platform) service has a problem in resin (a free JSP platform) 2 has prompted/etc/init d stop stop/etc/init d/resin (a free JSP platform) start
Rebooting the resin(a free JSP running platform) server makes it possible to fix this problem

Related articles: