PHP-FPM "upstream sent too big header..."

HTF nginx-forum at nginx.us
Tue Jul 24 10:01:23 UTC 2012


Hi,

I've noticed the following error message in the logs:

"2012/07/24 11:26:19 [error] 18623#0: *521909 upstream sent too big
header while reading response header from upstream, client..."

I've read the documentation and I do want to disable buffering to disk
so I've set "fastcgi_max_temp_file_size 0;" in
"/etc/nginx/fastcgi_params" (this file is included in the config
"include fastcgi_params;").

Could you please advise which parameters need to be configured to solve
the issue from the error log?

If I set the following parameters:

fastcgi_buffer_size 128k;
fastcgi_buffers 256 4k;
fastcgi_busy_buffers_size 256k;
fastcgi_temp_file_write_size 256k;

- is this going to overwrite the "fastcgi_max_temp_file_size"
directive?

Regards

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,228926,228926#msg-228926



More information about the nginx mailing list