Re: Tweak fastcgi_buffer

2015-07-29 Thread Maxim Dounin
Hello! On Wed, Jul 29, 2015 at 04:45:31PM -0400, Karl Johnson wrote: > On Thu, Jul 23, 2015 at 3:21 PM, Maxim Dounin wrote: > > > Hello! > > > > On Wed, Jul 22, 2015 at 05:50:12PM -0400, Karl Johnson wrote: > > > > > Hello, > > > > > > I

Re: Tweak fastcgi_buffer

2015-07-29 Thread Karl Johnson
On Thu, Jul 23, 2015 at 3:21 PM, Maxim Dounin wrote: > Hello! > > On Wed, Jul 22, 2015 at 05:50:12PM -0400, Karl Johnson wrote: > > > Hello, > > > > I need to tweak fastcgi_buffer to 1m on a website that has heavy requests > > to avoid buffer. If I use a dis

Re: Tweak fastcgi_buffer

2015-07-23 Thread Maxim Dounin
Hello! On Wed, Jul 22, 2015 at 05:50:12PM -0400, Karl Johnson wrote: > 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@web

Tweak fastcgi_buffer

2015-07-22 Thread Karl Johnson
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@web ~]# getconf PAGESIZE 4096 [root@web ~]# fastcgi_buffer_size 4k; fastcgi_buffers 256 4k; OR