Project

General

Profile

Actions

server.event-handler

Sets the event handler.

Default: select the most advanced event handler supported by lighttpd that is available on the system
On Linux: epoll
On *BSD: kqueue

Available event handlers:

OS Method Config value
all select select
Unix poll poll
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) but libev is no longer recommended. Prefer the native event handlers supported by lighttpd (e.g. on Linux: epoll, on *BSD: kqueue)

Example

server.event-handler = "kqueue"

See Also

Updated by gstrauss almost 4 years ago · 16 revisions