Posts

Showing posts from May 16, 2011

Virtualmin Issues: Apache dying every week at midnight

Issues : 100% http cpu load, Server Hangs, Http Dying Every Week There are lot of things I've done. 1. Check the cron jobs every week and change some weekly jobs and spread it on random day to another day like sat so they will spread the load 2. Create a script that auto checks that apache every 5 min there is a howto on the internet you can follow just google it. 3. This is the last thing that I've been doing read below: I've been looking for a solution on this one for quite long time now and havent figured it out. Log of apache doesnt give a clue. Maybe others logs have a clue the last log I havent checked was the logrotate logs. ( the log of the log rotator lol) I run the logrotate and poof! server down :D some freaking code there. I checked and found that the virtual sites rotates the log and invoking a restart of the httpd. I checked and tried and change the restart to graceful but no avail. So why do the server needs to be restarted?? Dunno really maybe to clear and s