[UCIMC-Tech] http://lists.chambana.net wedged again...
Stuart Levy
salevy at illinois.edu
Sun Jul 1 16:43:51 UTC 2012
The web server for http://lists.chambana.net/ is wedged again. This is
happening several nights a week - is the manual remedy just to do
something simple, like "apachectl restart" ?? If so, could periodic
restarting be stuffed in a cron job?
One way to do it: use wget to probe the server, and only restart if it's
not answering
(exit status 4 => network error, in wget 1.12 or later):
wget --timeout=15 --tries=3 -O /dev/null --quiet
http://lists.chambana.net/nonesuch
if [ $? = 4 ]; then
apachectl restart ; # or whatever
fi
More information about the IMC-Tech
mailing list