Project

General

Profile

Server event-handlerDetails » History » Revision 10

Revision 9 (nitrox, 2010-08-21 18:33) → Revision 10/16 (radzio, 2010-08-22 14:24)

h1. server.event-handler 

 set the event handler 

 Default: "poll" 

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

 |_.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            | 
 |N/A           |libev       |libev             | 

 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]]