3 messages in ru.sysoev.nginxRe: Questions about worker_processes ...
FromSent OnAttachments
Aleksandar LazicApr 27, 2006 5:35 pm 
Igor SysoevApr 27, 2006 10:14 pm 
Aleksandar LazicApr 27, 2006 10:42 pm 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Questions about worker_processes && worker_connectionsActions...
From:Igor Sysoev (is-G@public.gmane.org)
Date:Apr 27, 2006 10:14:46 pm
List:ru.sysoev.nginx

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.