The execution time of php on two nginx servers

Source: Internet
Author: User
There are currently two servers, one with newly developed programs and the other with no newly developed programs. enter the link in the browser and connect the server with code, the status of the browser waiting for the returned result to be processed. 30 seconds later, the browser experienced a 404 error. The php script has already set no limit to super... there are currently two servers, one with newly developed programs and the other with no newly developed programs. enter the link in the browser and connect the server with code, the status of the browser waiting for the returned result to be processed. 30 seconds later, the browser experienced a 404 error. The php script has set no time-out period. The nginx time-out period is 5 minutes. It is suspected that it will be automatically linked to the server without a new program 30 seconds later. Ask how to solve this problem.

Reply content:

There are currently two servers, one with newly developed programs and the other with no newly developed programs. enter the link in the browser and connect the server with code, the status of the browser waiting for the returned result to be processed. 30 seconds later, the browser experienced a 404 error. The php script has set no time-out period. The nginx time-out period is 5 minutes. It is suspected that it will be automatically linked to the server without a new program 30 seconds later. Ask how to solve this problem.

I think you should check the logs first.

  1. ViewNginxOfAccessLog to see which server your request belongs.

  2. ViewPhp,Nginx,Php-fpm/php-cgiRequest Timeout,

For this problem, you can view the log file as mentioned above, and check the access and error logs to see what happened .. Or firewall, etc.

Contact Us

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.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.