HostOnNet Blog

(response.c.544) file not found … or so: Too many open files

A site running lighttpd stopped working with 500 internal server error.

On checking lighttpd log, found

2009-08-17 04:04:58: (response.c.544) file not found ... or so:  Too many open files /4032/046a.jpg ->
2009-08-17 04:04:58: (response.c.544) file not found ... or so:  Too many open files /4032/043a.jpg ->
2009-08-17 04:04:58: (response.c.544) file not found ... or so:  Too many open files /4032/041a.jpg ->
2009-08-17 04:04:58: (response.c.544) file not found ... or so:  Too many open files /4032/052a.jpg ->

The error is fixed by editing /etc/lighttpd/lighttpd.conf and adding

server.max-fds = 8192

Posted in Web Server