lighttpd too many open files

lighttpd server crashes with fllowing error in error_log file.

As lighttpd is a single-threaded server, its main resource limit is the number of file descriptors, which is set to 1024 by default (on most systems).

If you are running a high-traffic site you might want to increase this limit by setting server.max-fds.

Related Posts

lighttpd

maximum number of open files and file descriptors in linux

lighttpd

lighttpd is a light weight web server used mainly to serve static files. Youtube used lighttpd before it was purchased by google. I was using lighttpd with some file hosting/image hosting sites with mod_secdownload that allows link to expire after pre defined time. These days i use Nginx as it is more popular. Only see lighttpd rarely.

https://www.lighttpd.net

To install lighttpd on CentOS, run

To see lighttpd version, run

lighttpd too many open files