monit-general
[Top][All Lists]
Advanced

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

Re: start and stop process by monit


From: Jan-Henrik Haukeland
Subject: Re: start and stop process by monit
Date: Tue, 07 Oct 2003 00:13:45 +0200
User-agent: Gnus/5.1002 (Gnus v5.10.2) XEmacs/21.4 (Reasonable Discussion, linux)

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




reply via email to

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