[Top][All Lists]

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

Re: Crash recovery

From: Sergey Maslyakov
Subject: Re: Crash recovery
Date: Fri, 9 May 2014 15:39:20 -0500

Thank you, Martin! From what I found in the source code afters seeing your response, Monit periodically scans the process list and performs pattern matching to determine whether a certain monitored service is running or not. It also checks whether the PID still exists.

Am I on the right track?


On Fri, May 9, 2014 at 11:02 AM, Martin Pala <address@hidden> wrote:

if Monit is restarted it checks the current state of monitored services before it does any action - if the processes are running already, test is successful and no restart action is done (i.e. no second set of services).


On 09 May 2014, at 14:12, Sergey Maslyakov <address@hidden> wrote:

> Hello,
> What is the expected behavior of Monit daemon upon restart after a crash or other kind of abnormal termination? Is it capable of harvesting the process list for the processes started by the predecessor and taking ownership of monitoring them? Or does it just try to spawn a set of [duplicate] services?
> Thank you,
> /Sergey
> --
> To unsubscribe:

To unsubscribe:

reply via email to

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