Project

General

Profile

Actions

Server event-handlerDetails » History » Revision 13

« Previous | Revision 13/16 (diff) | Next »
radzio, 2010-08-22 18:48


server.event-handler

Sets the event handler.

Default: poll

Available event handlers:

OS Method Config value
all select select
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

Notes
  • libev requires lighty to be compiled --with-libev (available since 1.4.27)

Example

server.event-handler = "kqueue"

Caveats

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

See Also

Updated by radzio about 14 years ago · 13 revisions