Least connections and multi_accept

Maxim Dounin mdounin at mdounin.ru
Tue Apr 16 11:50:26 UTC 2013


Hello!

On Tue, Apr 16, 2013 at 09:51:34AM +0200, António P. P. Almeida wrote:

> Recently Ruslan, while replying to someone stated that the internal
> counters for the least connections load balancing algorithm ate *per
> worker* and consequently unless there is a high load it might not add up
> that in fact the algorithm logic is "respected" while considering all
> workers.  Is this still through if multi_accept is off. Or this directive
> has no bearing on the least connection algorithm?

While multi_accept might affect connection distribution between 
worker processes, it is otherwise unrelated.

-- 
Maxim Dounin
http://nginx.org/en/donation.html



More information about the nginx mailing list