Optimizing worker_processes, worker_connections & PHP_FCGI_CHILDREN - Any Good Tutorial?

Piotr Karbowski jabberuser at gmail.com
Wed Jun 16 00:31:58 MSD 2010

On 15.06.2010 22:27, Rahul Bansal wrote:
>> worker_process = num of CPU. nothing more
> I will make this a law for myself. :)

I recommend have few more workers than number of cores. On one of my
overloaded dual core server I changed 2 worksers to 6, this reduced a
lot IOwait and fixed latency problem when using site which is on this
server. Play a bit with it to found best for you number of workers.

-- Piotr.

More information about the nginx mailing list