114 fastcgi: the request record is too big

Igor Sysoev is at rambler-co.ru
Tue Aug 28 19:41:00 MSD 2007


On Tue, Aug 28, 2007 at 05:31:44PM +0200, Jure Pe??ar wrote:

> On Tue, 28 Aug 2007 18:50:10 +0400
> Igor Sysoev <is at rambler-co.ru> wrote:
> 
> > On Tue, Aug 28, 2007 at 04:15:16PM +0200, Jure Pe??ar wrote:
> > 
> > > I'm getting this error when playing with a database with some large
> > > tables over phpmyadmin on nginx/fastcgi/php-fpm setup. I'm puzzled
> > > because even google does not find anything meaningful about it.
> > > 
> > > Do I need to increase some nginx or fastcgi setting?
> > 
> > No, currently the limit is hardcoded in nginx.
> > FastCGI limits one record to 65535 and nginx tries to send whole FastCGI
> > request without request body in single recored.
> > Typical FastCGI request is about 1K. 64K means that request has too big
> > cookies.
> 
> So this means I have to 
> a) experiment with larger values in nginx source (can you point me to the
> correct file)
> b) go back to apache+mod_php
> c) ... ?

Currently b only. You can not simply use larger value than 64K, because
it's FastCGI limit. To pass large data, the data should be split on two
or more FastCGI records.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list