[UCIMC-Tech] http://lists.chambana.net wedged again...

Daniel Lewart lewart3 at gmail.com
Mon Jul 2 23:12:07 UTC 2012


Stuart, et al,

On Sun, Jul 1, 2012 at 11:43 AM, Stuart Levy <salevy at illinois.edu> wrote:

> 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

First I think it is important to understand why it is hanging.

Then, if your cron job is used, it should send email and perhaps log.

Thanks!
Dan


More information about the IMC-Tech mailing list