Please can you send Monit log?

It's possible to set the stop timeout (by default 30s) and also add action to 
be executed if there are too many restarts. For example:

        check process ABC with pidfile /var/run/ABC.pid
                start program = ...
                start program = ...
                if 3 restarts within 3 cycles then exec "/usr/bin/pkill -9 ABC"


Regards,
Martin



On Oct 15, 2013, at 3:50 PM, Ryan Hall <[email protected]> wrote:

> We have several instances of monit, and on one server it ocasionally will 
> fail to restart a process, 
> The stop script executions were still there, they were a couple days old they 
> just hung, So monit couldn't do anything with those instances of thin
> Has any one had similar issues?
> Ryan Hall
> (407) 852-8487
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general

--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to