worker_processes

Šime Ramov hi at brand84.com
Wed Jan 31 01:35:18 MSK 2007


2007/1/30, Igor Sysoev <is at rambler-co.ru>:
> [...]

Hmm, OK, so it seems that it's the best to leave worker processes set
to 1, unless there is multiple processors, CPU intensive tasks, gzip,
SSL, etc...

But let me ask you this, as I'm not so clear about it yet: Lets say I
have a couple of *normal* (normal traffic) sites running (few Django
sites, few static sites), does it make sense to increase the worker
processes or is it OK to leave it at 1?

According to all of above, I would (and will) use one worker process
*if* I have one site. But, I'm not so clear yet about situation where
I have more sites running from the same nginx server via virtual
hosting.


 - Šime





More information about the nginx mailing list