How to avoid "too big header" issue?

stalkercn nginx-forum at
Fri May 6 06:45:21 MSD 2011

nginx: nginx version: nginx/1.0.1
nginx: built by gcc 4.2.1 20070719  [FreeBSD]
nginx: configure arguments: --prefix=/usr/local/etc/nginx
--with-cc-opt='-I /usr/local/include' --with-ld-opt='-L /usr/local/lib'
--sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/
--error-log-path=/var/log/nginx.log --user=www --group=www --with-debug
--http-log-path=/var/log/nginx-access.log --with-http_gzip_static_module
--with-http_stub_status_module --with-pcre

I decrease the fastcgi buffer size and increase the amount of buffers:
            fastcgi_buffer_size          64k;
            fastcgi_buffers           64 64k;

but a 'too big header' error still apears:

 [debug] upstream split a header line in FastCGI records
 [error]  upstream sent too big header while reading response header
from upstream

btw,php is working with Zend-Optimizer,whether this condition can make
the headers bigger than its real size?

Posted at Nginx Forum:,192785,195960#msg-195960

More information about the nginx mailing list