Tweaking FastCGI buffers settings

rahul286 nginx-forum at
Fri Nov 27 09:33:35 MSK 2009

By the way if possible can somebody please answer my original question as well....

>if my average response size is 128K and max response size is 32M and I'm on 32-bit platform,
>then following must be most optimized configuration - It will use memory efficiently as well as will not generate any warning?

>fastcgi_buffer_size 128K
>fastcgi_buffers 8192 4k

>Am I right?

I need to know because in some cases PHP scripts like phpMyAdmin exporting a large database generates much bigger response.
Also in some other service I will be generating large XML output from PHP files.

Posted at Nginx Forum:,25728,25887#msg-25887

More information about the nginx mailing list