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.


Read More…


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 […]

Read More…