Actions
server.max-connections option¶
Provides resource fine tuning for request handling.
Default:
max-connections = max-fds/10 (since lighttpd 1.4.83) when HTTP/2 is enabled (default), or else max-connections = max-fds/3
Why more open file descriptors than connections? File handles are, for example, also used for socket connections for backends (e.g. fastcgi), and for static and temporary files in the filesystem.
To operate properly, lighttpd must have sufficient file descriptor resources available. If server.max-connections is configured, then the configured value must be <= max-fds/10 when HTTP/2 is enabled, or else must be <= max-fds/2. If larger, then server.max-connections is automatically adjusted downwards.
Also See ¶
Updated by avij 1 day ago · 10 revisions