Welcome! Log In Create A New Profile

Advanced

Re: How to avoid "too big header" issue?

May 06, 2011 12:44AM
On Thu, May 05, 2011 at 10:45:21PM -0400, stalkercn wrote:
> 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'
> --conf-path=/usr/local/etc/nginx/nginx.conf
> --sbin-path=/usr/local/sbin/nginx --pid-path=/var/run/nginx.pid
> --error-log-path=/var/log/nginx.log --user=www --group=www --with-debug
> --http-client-body-temp-path=/var/tmp/nginx/client_body_temp
> --http-fastcgi-temp-path=/var/tmp/nginx/fastcgi_temp
> --http-proxy-temp-path=/var/tmp/nginx/proxy_temp
> --http-scgi-temp-path=/var/tmp/nginx/scgi_temp
> --http-uwsgi-temp-path=/var/tmp/nginx/uwsgi_temp
> --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

Only fastcgi_buffer_size is relevant here.
Could you set it to 512k and make request with debug log ?


--
Igor Sysoev

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

How to avoid "too big header" issue?

stalkercn April 21, 2011 07:02AM

Re: How to avoid "too big header" issue?

Igor Sysoev April 22, 2011 02:36AM

Re: How to avoid "too big header" issue?

stalkercn April 26, 2011 08:46PM

Re: How to avoid "too big header" issue?

stalkercn April 28, 2011 11:15PM

Re: How to avoid "too big header" issue?

stalkercn May 03, 2011 11:10PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 04, 2011 02:28AM

Re: How to avoid "too big header" issue?

stalkercn May 04, 2011 10:50PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 05, 2011 03:36AM

Re: How to avoid "too big header" issue?

stalkercn May 05, 2011 10:45PM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 12:44AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 02:34AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 02:52AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 03:22AM

Re: How to avoid "too big header" issue?

stalkercn May 06, 2011 04:02AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 02:44AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 03:00AM

Re: How to avoid "too big header" issue?

Igor Sysoev May 06, 2011 03:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 152
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready