Hi, Over the last few months one of my Raq 550s has had a problem with Apache hanging 3/4/5 times a day. I have had a few people look at it, tried numerous suggestions from the Sun Forums but without any luck.
At the moment I have a cron job running every 12 minutes that restarts Apache. Not ideal. It makes it difficult for us to administer, it is bad for the clients coz it looks as though their pages are loading really slowly or not at all. Plus it is putting an unnecessary load on the server every 12 mins. Sometimes from less than 1 to about 6 So I was wondering, could someone create me a script that runs from cron every 10 mins or so, which checks to see if Apache is OK, if it is, leave it alone, if not restart Apache. Apache does not stop i.e. when you do the command /etc/rc.d/init.d/httpd stop it does stop (it doesn't doing nothing or say it is stopped already) it just seems to stop serving pages. So doing a check on whether Apache is stopped, won't work, the script needs to check whether it can serve pages, and if it can't after a few seconds then Apache needs restarting. I hope this makes sense. If anyone can help, please contact me off list with your quotations for this work. Thanks for your time. Harvey _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
