I just set up an Xserve with A LOT of virtual hosts and A LOT of traffic. I'm running Apache 2.0.47, but the httpd process keeps crashing. I need a shell script that can run periodically to determine if Apache is running or not. If it's NOT, it should be started.
I'm trying to determine the root of the crashing problem, but I thought a script like this could help me get some sleep in the meantime.
Any suggestions?