Apache 502 Bad Gateway

Source: Internet
Author: User

Test site found, keep clicking to save large information data, after a period of time, the page appears

502 Bad Gateway

The proxy server received an invalid response to upstream server.

Checked, according to Http://bbs.chinaunix.net/viewthread.php?tid=1230212 said, httd.conf Tim Plus

Setenv force-proxy-request-1.0.1
Setenv proxy-nokeepalive 1

Is not a mistake, thought resolved, excited to continue to keep the test, the results of the tragic discovery of 502 errors have appeared, but still a little effect, at least the server has been longer

Then the boss checked the data and asked me to add a few fields http://apache.phpchinaz.cn/archives/610724


Win32disableacceptex
Threadsperchild 250
Maxrequestsperchild 0
Enablemmap off
Enablesendfile off

Plus, after testing a day, no more than 502 errors, hope is really solved the problem.

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.