Confirm event model

Igor Sysoev igor at sysoev.ru
Tue Oct 25 12:20:48 UTC 2011


On Tue, Oct 25, 2011 at 12:01:24PM +0000, iberkner at gmail.com wrote:
> Thanks Igor.
> 
> Is epoll considered the best polling method if available?

On Linux - yes.

> ------Original Message------
> From: Igor Sysoev
> Sender: nginx-bounces at nginx.org
> To: nginx at nginx.org
> ReplyTo: nginx at nginx.org
> Subject: Re: Confirm event model
> Sent: Oct 25, 2011 5:58 AM
> 
> On Mon, Oct 24, 2011 at 03:27:32PM -0400, Ilan Berkner wrote:
> > Is there a way to confirm / see which event model Nginx is using?
> > 
> > i.e. "select", "epoll", "kqueue", etc.?
> 
> Just write explictly:
> 
> events {
>     use epoll;
> }
> 
> If nginx can not use this method it will complain in error_log.


-- 
Igor Sysoev



More information about the nginx mailing list