[Top][All Lists]

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

Re: start and stop process by monit

From: Rick Robino
Subject: Re: start and stop process by monit
Date: Mon, 6 Oct 2003 18:32:03 -0700

+1 here, especially if it were optional. I hate to terminate a process with such heavy handedness but it would be nice to know that this had been tried when running an outside handler afterward. I worry more about killing a process that may have had it's pid taken away but is otherwise fine, more than making a second kill attempt with prejudice.


On Monday, October 6, 2003, at 03:13  PM, Jan-Henrik Haukeland wrote:

Jan-Henrik Haukeland <address@hidden> writes:

If you really want to make sure that a process was stopped, you can in
the stop program or in the script monit calls to stop the process, add
code that kills the process with SIGKILL if graceful termination did
not succeed. (Of course, this could instead be implemented in monit,
i.e. if monit failed to stop a process it sends SIGKILL to the process
as it's final action, but I think this decision should be done in the
stop program monit calls and not by monit).

On second thought, maybe monit *should* send a process the SIGKILL
signal as its last action if the process wont stop after monit called
the stop program for the process. What do others think?

Jan-Henrik Haukeland

To unsubscribe:

Richard T. Robino

reply via email to

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