more or less?

Igor Sysoev is at rambler-co.ru
Thu May 24 17:49:13 MSD 2007


On Thu, May 24, 2007 at 09:45:38PM +0930, Kingsley Foreman wrote:

> Im running a very busy mirror with nginx,
> we are talking 100MB's with  3000 connections
> 
> Firstly I would like to say awesome bit of software, but I am curious about 
> something.
> 
> Is it better to run 20 process doing 3000 connections or 5 proccess doing 
> 3000 connections?

You need more worker processes if nginx frequently blocks on disk operations.
If all content is cached in OS VM, then you may use single worker.


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





More information about the nginx mailing list