Default is to use accept mutex and if load is low, most request will be
handled
by one worker.
On heavy loaded server load destribution between worker processes will
be more
uniform.
You can switch off accept_mutex and load will be more uniform even with
low
load, but all worker processes will be waken up on each new connection
and only
one worker can accept given connection:
In case of nginx number of processes is usually low, and negative impact
of
accept_mutex off should be low.
I am running nginx with high number of worker. So I think disable
accept_mutex will cause high load on the system.
Is there any other method I can choose in nginx like simple round robin
b/w
workers?
Posted at Nginx Forum:
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.