The reasons for Apache status 503 are as follows:1. If the CPU load is too high and the server cannot respond, 503 is returned.2. The number of system connections exceeds the upper limit of MaxVhostClients. 503 is returned.3. The number of
In recent work, the community provides a unified presentation page for three exceptions (404/500/503) to improve user perceptions, while defining a standard log output format for 404/500 of two errors.
404 and 500 Wrong configuration
Please remove
First, let's talk about how to configure varnish.The varnish startup requires the configuration file (*. VCL), and some other startup parameters (the specific parameters are omitted here, man will see everything ). My installation is
It has been popular for a while to build a Web site by nginx+ PHP, which runs in fastcgi mode. But after a period of consideration, it is often found that there are some 502 errors. In fact, the form of nginx+fastcgiphp is generally not very stable
I. Log Analysis
If Apache is installed by default, two log files are generated when the server runs. The two files are access_log and error_log.
When the default installation method is used, these files can be found
1. Configure nginx. conf The code is as follows:Copy code Http {.............Limit_zone one $ binary_remote_addr 10 m; // I remember the default configuration, but it is commented out. If it is not added..............Server
Apache + Nginx + MySql + PHP configuration introduction. For more information, see
1. Enable sshd after installing the system and disable the firewall (otherwise, the external link cannot access apache). disable the security system SELinux
1. After installing the system, turn on the sshd, close the firewall (otherwise the link is not access to Apache) shut down the security system SELinux (otherwise reported 403 access page error)Permanently effective after rebootChkconfig sshd on
Apache System troubleshooting solutions and related operations knowledge1. Check the Apache service on which port is listening, there are several Apache in the service, its initial PID is how muchNetstat-alop |grep LISTEN |grep httpd2. View the
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.