Welcome! Log In Create A New Profile

Advanced

Re: Nginx TCP Delays

Christopher Smith
September 24, 2009 03:50AM
Avleen Vig wrote:
> On Sep 21, 2009, at 1:02, François Battail <fb@francois.battail.name>
> wrote:
>
>> Le dimanche 20 septembre 2009 à 22:47 -0700, Khalid Shaikh a écrit :
>>
>>> worker_processes 32;
>>
>> That's way too much, try to keep the number of workers sticked to the
>> number of cores (eg: 4).
>
> Surely you should have more?
> Eg with 4 cores have 8 workers.
>
> If workers block serving a request, this means you don't have CPU
> sitting idle.
Generally no. If you are doing everything properly event driven (even
more so if you shift from a polling model to an AIO model), then any
time you are busy serving a request, that means your CPU isn't sitting
idle. The only time it should be idle is when there literally aren't any
requests/events to process (at which point extra processes isn't going
to help).

--Chris
Subject Author Posted

Nginx TCP Delays

Khalid Shaikh September 21, 2009 01:52AM

RE: Nginx TCP Delays

Brian Henson September 21, 2009 03:38AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:46AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:06AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:22AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:24AM

Re: Nginx TCP Delays

François Battail September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:08PM

Re: Nginx TCP Delays

Avleen Vig September 23, 2009 04:52AM

Re: Nginx TCP Delays

François Battail September 23, 2009 11:22AM

Re: Nginx TCP Delays

Christopher Smith September 24, 2009 03:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 24, 2009 11:22AM

Re: Nginx TCP Delays

icqheretic October 05, 2009 03:09PM

Re: Nginx TCP Delays

anomalizer October 03, 2009 03:34AM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 04:50AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 04:58AM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 12:32PM

Re: Nginx TCP Delays

Maxim Dounin September 21, 2009 12:52PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 02:08PM

Re: Nginx TCP Delays

Khalid Shaikh September 21, 2009 03:44PM

Re: Nginx TCP Delays

Khalid Shaikh September 22, 2009 12:30AM

Re: Nginx TCP Delays

Payam Chychi September 22, 2009 02:24AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready