Worker processes

kingler kingler at 72pines.com
Wed May 7 10:10:59 MSD 2008


If you have multiple CPUs, you can also try setting the number of
worker processes to the same number of CPU cores.

-Liang

On Tue, May 6, 2008 at 10:56 PM, Dave Cheney <dave at cheney.net> wrote:
> 1
>
>  Unless you are doing a LOT* of static IO, you won't need more than 1 worker
> process.
>
>  Cheers
>
>  Dave
>
>  * to define a LOT, we serve 1.5m dynamic hits with 32 mongrels over 3
> machines using 1 nginx worker. Cpu usage, including compression, 5% max.
>
>
>
>  On 07/05/2008, at 3:37 PM, Jason Lee wrote:
>
>
> > Hello,
> >
> > I am running Nginx as a reverse proxy with Mongrel. I haven't been able
> > to find a clear example of what to set the worker_processes at. I'm
> > running 10 mongrels and trying to find the sweet spot for Nginx.
> >
> > If anyone has any insight in this, it would be appreciated.
> >
>
>
>





More information about the nginx mailing list