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?
On Wed, Jul 29, 2015 at 04:45:31PM -0400, Karl J. wrote:
256x 4k or 4x 256k?
fastcgi_buffer_size 256k;
Thanks for the recommendation Maxim. There’s no issue setting the buffer to
128k when the pagesize is 4k?
No issues, though large buffers imply some memory waste when last
buffer isn’t fully used. So usually you should consider some
balance between number of buffers and their size.