|
From: | Kirubakaran Kaliannan |
Subject: | RE: Monit reload stopped the daemon |
Date: | Fri, 20 May 2016 17:00:33 +0530 |
Hi Martin,
We start monit externally through a script after the resources are online. Not started by upstart or systemd. The “monit reload” happens every 5 min approximately when the monit config files change.
The below SIGTERM received exactly at the same second as the “monit reload” happened. As I am the owner of the setup, I am fairly sure that no one have run the “monit quit” on it. (not finding anything in bash history as well)
Since the monit got killed exactly when the “reload” happened, I was thinking there is some timing/signal issue in the code to be aware off.
I have done enough code analysis as well. I will report back, in case if I hit this again.
Thanks for your reply, -kiru
From: monit-general [mailto:monit-general-bounces+kirubak=address@hidden] On Behalf Of Martin Pala
Hi,
monit reload just sends a SIGHUP signal. The log message and monit stop comes from SIGTERM, but it must have been triggered externally, not by monit.
How do you start Monit? If you use for example upstart or systemd, it is possible that the SIGTERM was sent by it or manually by administrator using "monit quit" after "monit reload".
Regards, Martin
|
[Prev in Thread] | Current Thread | [Next in Thread] |