monit-general
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [monit] Can't restart monit


From: Nicola Tiling
Subject: Re: [monit] Can't restart monit
Date: Wed, 21 Jan 2009 13:27:25 +0100


Am 20.01.2009 um 22:27 schrieb Martin Pala:

The root cause most probably is, that monit masks signals (including SIGTERM) for critical sections. Freebsd's /etc/rc.subr routines which are used by monit's rc script performs the restart by stopping and starting the process. The stop is performed by sending SIGTERM to the process. When Monit is in critical section, it can thus ignore the SIGTERM signal whereas the rc script thinks that it managed to signalize process to stop and will wait for pid to exit.


I think monit freezes. Today the last entry in /var/log/monit is from [ Jan 21 03:26:04] and mmonit says "No report from monit. Last report was Wed, 21 Jan 2009 03:24:03". The webconsole of monit itself is reachable, but no watched processes are clickable.

It was fixed in cvs now - monit signal handlers are safe so we don't need to block these signals at any time.

You can get the code from cvs:
http://savannah.nongnu.org/cvs/?group=monit

... or wait for next version (release candidate) which should be ready till the end of january.


Thanks for report :)
Martin


I will try the CVS version - thanks.

Nicola






reply via email to

[Prev in Thread] Current Thread [Next in Thread]