Welcome! Log In Create A New Profile

Advanced

Re: nginx high i/o

Gabriel Ramuglia
November 21, 2009 04:04PM
If you're seeing buffering to disk instead of to ram (and you don't
want the i/o penalty of buffering to disk), then the ram buffer is not
sufficient. I would increase it so long as you have sufficient ram to
do so.

On Sat, Nov 21, 2009 at 10:48 AM, Stefanita Rares Dumitrescu
<katmai@keptprivate.com> wrote:
>        fastcgi_buffers 64 64k;
>        fastcgi_buffer_size 64k;
>
>
> i made the following mods in the fastcgi section, and waiting for results.
> from what i understand:
>
>        fastcgi_buffers 64 64k;
>
> the first 64 is the number of buffers and the second is the buffer size, so
> on a server that takes around 500 hits per second should i increase it, or
> the value should be just fine ?
>
>
>
> Maxim Dounin wrote:
>>
>> Hello!
>>
>> On Sat, Nov 21, 2009 at 02:19:16PM +0100, Stefanita Rares Dumitrescu
>> wrote:
>>
>>>        fastcgi_max_temp_file_size 0;
>>> This directive turns off fastcgi buffering according to the source code.
>>>
>>> i did this, and the buffer errors are gone. however, the pages load
>>> very very slow. take about 5-10 seconds to load the page.
>>
>> As I already said, switching off disk buffering has it's cost.  Without
>> buffering backend processes will be busy for much longer time.  There is no
>> surprise that the same number of backend processes is no longer enough.
>>
>> Maxim Dounin
>>
>
>
Subject Author Posted

nginx high i/o

Stefanita Rares Dumitrescu November 20, 2009 06:26PM

Re: nginx high i/o

Maxim Dounin November 20, 2009 07:22PM

Re: nginx high i/o

Stefanita Rares Dumitrescu November 20, 2009 07:44PM

Re: nginx high i/o

Maxim Dounin November 20, 2009 08:06PM

Re: nginx high i/o

Stefanita Rares Dumitrescu November 21, 2009 08:24AM

Re: nginx high i/o

Maxim Dounin November 21, 2009 12:34PM

Re: nginx high i/o

Stefanita Rares Dumitrescu November 21, 2009 01:54PM

Re: nginx high i/o

Gabriel Ramuglia November 21, 2009 04:04PM

Re: nginx high i/o

Stefanita Rares Dumitrescu November 21, 2009 04:48PM

Re: nginx high i/o

Maxim Dounin November 21, 2009 06:00PM

Re: nginx high i/o

Stefanita Rares Dumitrescu November 21, 2009 08:08PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 195
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready