Welcome! Log In Create A New Profile

Advanced

502 errors, upstream sent too big header

Travis Derouin
April 04, 2011 04:54PM
We seem to be getting sporadic 502 errors, mostly when users are logging in.
We run a Mediawiki based website, are running nginx 0.9.5, php-fpm 5.3.5.

The error:

2011/04/04 10:41:34 [error] 30517#0: *2143711 upstream sent too big header
while reading response header from upstream, client: 192.168.100.5, server:
_, request: "POST
/index.php?title=Special:Userlogin&action=submitlogin&type=login&returnto=Main-Page
HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "www.wikihow.com",
referrer: "http://www.wikihow.com/Special:Userlogin?returnto=Main-Page"

Our nginx.conf proxy buffer settings:

proxy_buffers 16 16k;
proxy_buffer_size 32k;

We've tried increasing these values from the defaults a few times, and it
doesn't seem to fix the issue.

Do you have any suggestions on how to fix this?

Thanks,
Travis
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

502 errors, upstream sent too big header

Travis Derouin April 04, 2011 04:54PM

Re: 502 errors, upstream sent too big header

Igor Sysoev April 05, 2011 12:42AM

Re: 502 errors, upstream sent too big header

assistlydavid June 27, 2011 10:38PM

Re: 502 errors, upstream sent too big header

pqdbr August 03, 2011 07:46PM

Re: 502 errors, upstream sent too big header

Maxim Dounin June 28, 2011 01:20AM

Re: 502 errors, upstream sent too big header

Mike P. May 02, 2011 12:10AM

Re: 502 errors, upstream sent too big header

Maxim Dounin May 02, 2011 02:58PM

Re: 502 errors, upstream sent too big header

Mike P. May 02, 2011 10:04PM

Re: 502 errors, upstream sent too big header

Maxim Dounin May 03, 2011 03:46AM

Re: 502 errors, upstream sent too big header

Igor Sysoev May 03, 2011 12:20AM

Re: 502 errors, upstream sent too big header

Mike P. May 03, 2011 05:02PM

Re: 502 errors, upstream sent too big header

pqdbr August 03, 2011 10:01PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 213
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready