Lighttpd-1.4.9 crashes freqeuntly
One of our lighttpd webserver crashes frequently. We are not sure what is causing it.
The server was originally installed with lighttpd-1.4.7. But the server was going down at high load. So we thought the issue might be caused due to memory and have upgraded it to 4GB (from 2GB). But the issue was persisting.
The logs reported the following
2006-01-15 11:00:36: (server.c.946) connection closed - write-request-timeout: 326
2006-01-15 11:10:30: (server.c.946) connection closed - write-request-timeout: 340
And following the post http://trac.lighttpd.net/trac/ticket/286 , I have gone for a upgrade of lighttpd to 1.4.9.
Then after the upgrade, we couldn't find any error in logs but the server keeps crashing, and we find out that the issue was due to accesslog getting full. But after flushing the accesslogs the issue persisted.
We can say that the issue has nothing to do with memory and logs now but still our server crashes ( I mean at a regular intervals of 20-40 mins and we need to restart lighty each time ). At any time the server will be having 400-800 connections. The server is configured to run with 8000 connections.
The strange thing is that the server keeps on showing server-status for some time even after the crash.
PHP on the server is compiled with the following options.
./configure --enable-fastcgi --enable-exif --with-gd --enable-gd-native-ttf --with-zlib --with-jpeg --with-jpeg-dir=/usr/lib
If anyone have experienced such issues, then please let us know so that we can sort it out.
Also available in: Atom