On Oct 27, 2011, at 3:41 AM, agentzh wrote:
>>
>> What would be the usage of multi-threads?
>>
>
> Mostly for (blocking) disk I/O and other syscalls that have to block
> the main thread of an nginx worker :)
>
True. I've seen some systems where the overhead of the thread/queue management was more than just letting the system call block the main thread. We generally run 2 nginx procs per CPU core.
I just worry about bloat. There is a reason nginx's market share is rising and Apache's is falling.
--Brian
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx