Tweak fastcgi_buffer

Karl Johnson karljohnson.it at gmail.com
Wed Jul 22 21:50:12 UTC 2015


Hello,

I need to tweak fastcgi_buffer to 1m on a website that has heavy requests
to avoid buffer. If I use a distro with 4096 pagesize, is it better to do
256x 4k or 4x 256k?

[root at web ~]# getconf PAGESIZE
4096
[root at web ~]#

fastcgi_buffer_size 4k;
fastcgi_buffers 256 4k;

OR

fastcgi_buffer_size 256k;
fastcgi_buffers 4 256k;

Thanks!

Karl
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20150722/c6e2a044/attachment.html>


More information about the nginx mailing list