Project

General

Profile

Actions

Server event-handlerDetails » History » Revision 15

« Previous | Revision 15/16 (diff) | Next »
gstrauss, 2020-06-01 14:48


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 over 4 years ago · 15 revisions