Click to See Complete Forum and Search --> : Webserver stops weekly


CNBarnes
06-22-2009, 10:17 AM
If this isn't the proper place to post this question, please redirect me to where I should go.


Here is my situation - I have a VMWare virtual machine running Debian linux (v 4) which has the sole job of serving up webpages (with lots of virtualhosts). I am currently running Apache 1.3.


Everything seems to run perfectly all week long until sometime on Sunday morning. Then webpages simply quit getting served out. I can ssh into the machine and everything seems to be fine. If I restart apache (/etc/init.d/apache restart), the command is accepted and does not return an error, but still now websites are being served.

The only thing that does work is to restart the entire (virtual) machine.




Ok, so I realize that this might not be an apache problem per se. But I am at a complete loss as to where to even begin looking for what is causing this problem.

Any advice?

ArgPirate
06-22-2009, 11:53 AM
Well, there are lots of things that could cause pages to seem to not be served, what happens when you try to hit the sites? do they 404, time or do you get address not found? If restarting apache doesn't help, it's probably not an apache problem. Can you hit them via IP address?

ph34r
06-22-2009, 03:26 PM
Check the crontab for root, as well as the files in /etc/cron.d

ServerMojo
07-06-2009, 05:51 AM
Try checking your httpd error logs, hopefully something useful will show there.. Since it happens weekly then a likely culprit is a cronjob and perhaps log rotation being the one - check you have enough space to rotate the logs. You could try running logrotate manually.

Also check that any log file didn't hit a 2G file size limit.