set worker_processes to _SERVER["NUMBER_OF_PROCESSORS"]
    Joshua Zhu 
    zhuzhaoyuan at gmail.com
       
    Sat Sep 19 07:21:05 MSD 2009
    
    
  
Hi,
On Sat, Sep 19, 2009 at 3:01 AM, Ziyad Saeed <myschizobuddy at gmail.com> 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
>
No, I don't think so. 'worker_processes' is set only during the
initialization phase. It expects a number rather than a variable.
Regards,
-- 
Joshua Zhu
http://www.zhuzhaoyuan.com
    
    
More information about the nginx
mailing list