Tuning workers and connections

Maxim Dounin mdounin at mdounin.ru
Thu Jul 2 22:19:29 MSD 2009


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.

> 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.

Maxim Dounin





More information about the nginx mailing list