set worker_processes to _SERVER["NUMBER_OF_PROCESSORS"]

Igor Sysoev is at rambler-co.ru
Sat Sep 19 09:47:41 MSD 2009


On Sat, Sep 19, 2009 at 12:01:24AM +0500, Ziyad Saeed wrote:

> can i set worker_processes to _SERVER["NUMBER_OF_PROCESSORS"]
> looking in phpinfo there is a server variable that mentions the number of
> processors

On Windows you should use single worker, since Windows routes all
connections to one process only anyway.


-- 
Igor Sysoev
http://sysoev.ru/en/





More information about the nginx mailing list