Confirm event model

Is there a way to confirm / see which event model Nginx is using?

i.e. “select”, “epoll”, “kqueue”, etc.?

Thanks

It’ll automatically use the best one available. Unless you’re on some
embedded system which might have an old kernel then you really don’t
need to worry about this at all.

Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,217238,217247#msg-217247

On Tue, Oct 25, 2011 at 12:19 AM, Ilan B. [email protected]
wrote:

Thanks, I read that as well, none the less, it would be nice to be able to
confirm which one its chosen.

Just enable notice-level messages for error_log and you’ll see:
error_log logs/error.log notice;

Thanks, I read that as well, none the less, it would be nice to be able
to
confirm which one its chosen.

On Mon, Oct 24, 2011 at 5:16 PM, Ensiferous [email protected]
wrote:

http://mailman.nginx.org/mailman/listinfo/nginx

Ilan B.
Chief Technology Officer
Time4Learning.com

6300 NE 1st Ave., Suite 203
Ft. Lauderdale, FL 33334
(954) 771-0914

http://www.twitter.com/time4learning
http://www.facebook.com/Time4Learning

Time4Learning.com - Online interactive curriculum for home use, PreK-8th
Grade.
Time4Writing.com - Online writing tutorials for high, middle, and
elementary
school students.
Time4Learning.net - A forum to chat with parents online about kids,
education, parenting and more.
spellingcity.com - Online vocabulary and spelling activities for
teachers,
parents and students.

On Monday 24 of October 2011 21:27:32 Ilan B. wrote:

Is there a way to confirm / see which event model Nginx is using?

i.e. “select”, “epoll”, “kqueue”, etc.?

strace -p

:slight_smile:

Best regards, Brane

On Mon, Oct 24, 2011 at 03:27:32PM -0400, Ilan B. 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 S.

Hi!

Maybe kind of off topic, but I would like to have some light on this.

Is it scheduled to implement more extended server-status which would
eventually provide this info?

The FeatureRequests page includes such thing with state “Maybe?” -
http://wiki.nginx.org/FeatureRequests

Thanks and regards,

Boyko

Yes, work in progress

On Tue, Oct 25, 2011 at 01:58:48PM +0400, Igor S. wrote:

If nginx can not use this method it will complain in error_log.

BTW, nginx loges on the notice level:
“using the “…” event method”.

http://sysoev.ru

On Oct 25, 2011, at 1:18 PM, Andrew A. wrote:

Yes, work in progress

Great, thanks!

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs