Project

General

Profile

Server event-handlerDetails » History » Revision 6

Revision 5 (Anonymous, 2008-02-21 07:55) → Revision 6/16 (icy, 2009-01-03 20:43)

h1. <pre> 

 #!rst  

 server.event-handler 
 ==================== 

 server.event-handler 

     set the event handler 

 

     Default: "poll" 

 

     Available handlers: select, poll, linux-rtsig, linux-sysepoll, solaris-devpoll, freebsd-kqueue 

 |_.OS          |_.Method    |_.Config value    | 
 |all 

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

 Caveats 
 |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]]  
 <http://trac.lighttpd.net/trac/wiki/Docs%3APerformance#event-handlers>  


 </pre>