# Confirm event model

**URL:** <https://www.ruby-forum.com/t/confirm-event-model/213131>\
**Category:** NGINX\
**Created:** [October 24, 2011, 9:28pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131 "2011-10-24T21:28:11Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![luislavena](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/l/0ea827/32.png) [@luislavena](https://www.ruby-forum.com/u/luislavena)\
**Post date:** [October 24, 2011, 9:28pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/1 "2011-10-24T21:28:11Z")

</div>

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

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

Thanks

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 24, 2011, 11:17pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/2 "2011-10-24T23:17:32Z")

</div>

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:

> **[Re: Confirm event model](https://forum.nginx.org/read.php?2,217238,217247#msg-217247)**
>
> Is there a way to confirm / see which event model Nginx is using? i.e. "select", "epoll", "kqueue", etc.? Thanks \_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_\_ nginx mailing list nginx@nginx.org http://mailman.nginx.org

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 24, 2011, 11:28pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/3 "2011-10-24T23:28:03Z")

</div>

On Tue, Oct 25, 2011 at 12:19 AM, Ilan B. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
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;

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 24, 2011, 11:20pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/4 "2011-10-24T23:20:01Z")

</div>

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 [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)  
wrote:

> [mailman.nginx.org archive](http://mailman.nginx.org/mailman/listinfo/nginx)

–

Ilan B.  
Chief Technology Officer

> **[Online Homeschool Curriculum from Time4Learning](https://www.time4learning.com/)**
>
> PreK-12 homeschooling is EASY with Time4Learning at your fingertips with award-winning online lessons, and parent-friendly planning and reporting tools.

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

[http://www.twitter.com/time4learning](http://www.twitter.com/time4learning)  
[http://www.facebook.com/Time4Learning](http://www.facebook.com/Time4Learning)

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

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 12:13am UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/5 "2011-10-25T00:13:43Z")

</div>

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

🙂

Best regards, Brane

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 11:59am UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/6 "2011-10-25T11:59:44Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 12:05pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/7 "2011-10-25T12:05:18Z")

</div>

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](http://wiki.nginx.org/FeatureRequests)

Thanks and regards,

Boyko

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 12:18pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/8 "2011-10-25T12:18:56Z")

</div>

Yes, work in progress

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 3:27pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/9 "2011-10-25T15:27:20Z")

</div>

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](http://sysoev.ru)

---

<div class="post-metadata">

**Author:** ![iberci](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/i/a3d4f5/32.png) [@iberci](https://www.ruby-forum.com/u/iberci)\
**Post date:** [October 25, 2011, 3:55pm UTC](https://www.ruby-forum.com/t/confirm-event-model/213131/10 "2011-10-25T15:55:11Z")

</div>

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

> Yes, work in progress

Great, thanks!
