Questions about worker_processes && worker_connections
Igor Sysoev
is at rambler-co.ru
Fri Apr 28 09:15:09 MSD 2006
On Fri, 28 Apr 2006, Aleksandar Lazic wrote:
> is this equation valid?
>
> max_clients = worker_processes * worker_connections
Yes.
> or
>
> worker_connections == max_clients
>
> and the worker_processes are only for 'loadbalancing'?
worker_processes are used for
1) SMP,
2) to decrease latency when workers blockend on disk I/O,
3) to limit number of connections per process when select()/poll() is used.
Igor Sysoev
http://sysoev.ru/en/
More information about the nginx
mailing list