Welcome! Log In Create A New Profile

Advanced

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

HTF
July 24, 2012 06:01AM
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
Subject Author Posted

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

HTF July 24, 2012 06:01AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 68
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready