Tuning workers and connections
Michael Shadle
mike503 at gmail.com
Thu Jul 2 22:34:43 MSD 2009
2009/7/2 Maxim Dounin <mdounin at mdounin.ru>:
> Hello!
>
> On Thu, Jul 02, 2009 at 10:56:26AM -0700, Michael Shadle wrote:
>
>> On Thu, Jul 2, 2009 at 2:56 AM, Maxim Dounin<mdounin at mdounin.ru> wrote:
>>
>> > 1. Which event method used? Make sure you use kqueue for *BSD,
>> > epoll for Linux.
>>
>> Is epoll enabled by default?
>
> By default nginx uses best event method available for particular
> system. If it finds epoll during ./configure - it uses epoll.
That's what I thought.
>> Does it make sense to enable this for all servers, or only those with
>> massive amounts of load?
>
> There is no reason to use slow/limited event methods if better
> ones are available.
How can I tell which method I'm currently using?
More information about the nginx
mailing list