Tuesday, August 4, 2009

Apache crashes due to error log file size

Apache will crash if your error log or access log's file size reaches 2GB which is the maximum file size of Apache in Linux.

When this problem occurs, you can just delete that file and restart Apache.

You might also consider switching Apache log from normal log into zwrotatelog which will consume a bit more of your server's resource!

0 comments:

Post a Comment