Server event-handlerDetails » History » Revision 11
Revision 10 (radzio, 2010-08-22 14:24) → Revision 11/16 (radzio, 2010-08-22 15:32)
h1. server.event-handler Sets set the event handler. handler *Default:* @poll@ Default: "poll" h3. Available event handlers: |_.OS |_.Method |_.Config value | |all |select |@select@ |select | |Unix |poll |@poll@ |poll | |Linux 2.4+ |rt-signals|@linux-rtsig@ |rt-signals|linux-rtsig | |Linux 2.6+ |epoll |@linux-sysepoll@ |linux-sysepoll | |Solaris |/dev/poll |@solaris-devpoll@ |solaris-devpoll | |FreeBSD, ...|kqueue |@freebsd-kqueue@ |freebsd-kqueue | |NetBSD |kqueue |@kqueue@ |kqueue | |N/A |libev |@libev@ |libev | h3. Example <pre>server.event-handler = "kqueue"</pre> h3. Caveats - @linux-rtsig@ "linux-rtsig" may interfere with Perl-based CGI. - @freebsd-kqueue@ and @poll@ "freebsd-kqueue" on OS X 10.5 (Leopard) seem seems buggy. Use @select@ select or @libev@ poll instead. h3. See Also - [[lighttpd:Docs:Performance#Event-Handlers|Performance and event handlers]] [[lighttpd:Docs:Performance#Event-Handlers]]