Project

General

Profile

Server event-handlerDetails » History » Revision 8

Revision 7 (icy, 2009-01-03 20:45) → Revision 8/16 (radzio, 2010-08-20 21:51)

h1. server.event-handler 

 set the event handler 

 Default: "poll" 

 Available handlers: select, poll, linux-rtsig, linux-sysepoll, solaris-devpoll, freebsd-kqueue, libev (since 2.4.27) freebsd-kqueue 

 |_.OS          |_.Method    |_.Config value    | 
 |all           |select      |select            | 
 |all           |libev       |libev             | 
 |Unix          |poll        |poll              | 
 |Linux 2.4+    |rt-signals|linux-rtsig       | 
 |Linux 2.6+    |epoll       |linux-sysepoll    | 
 |Solaris       |/dev/poll |solaris-devpoll | 
 |FreeBSD, ...|kqueue      |freebsd-kqueue    | 
 |NetBSD        |kqueue      |kqueue            | 

 h3. Caveats 

 - "linux-rtsig" may interfere with Perl-based CGI. 
 - "freebsd-kqueue" on OS X 10.5 (Leopard) seems buggy. Use select or poll instead. 

 h3. See Also 

 - Available Event Handlers [[lighttpd:Docs:Performance#Event-Handlers]]