The past couple of months all my sites go down approx. 3am on Sundays. I only recently realised it was Apache as I would usually restart the whole server in panic when I wake up at 8am ish. Now I can do a "service httpd restart" which will start Apache and get it working.
The thing is, the server has monitoring of services, so if it monitors apache down it would run a "service httpd restart" automatically. When apache goes down other times this works, and I get a notice to say apache is down. But i dont get that notice when this happens, and also the restart does not work anyway. But the Webmin status/monitoring page does show apache as down.
But anyway, the main issue, why would Apache go down at 3am on sundays? I cant see any cronjob I have at that time that does sometimes and breaks it. I am wondering if its in one of the system cronjobs. Otherwebsites with this issue indicate it could be due to log rotation because this happened for someone else when a log rotation kicked in. but I cant get to the bottom of that either or know what to look at.
Anyone know what at 3am Sunday runs so I can pinpoint a service that may cause it?