Is there a way to confirm / see which event model Nginx is using?
i.e. “select”, “epoll”, “kqueue”, etc.?
Thanks
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:
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:
–
Ilan B.
Chief Technology Officer
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
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”.
–
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.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs