monit fails to stop in time on kill

Issue #328 on hold
Ulrich Windl created an issue

When upgrading to monit 5.16 on SLES 11 SP4 (x86_64), I noticed that monit-5.15 won't be stopped. Even when manually killing the only monit PID, it doesn't stop. Monit is not hung, however, because "monit summary" displays the configured services. As it turned out, monit eventually stopped, but with a significant delay (>5 seconds). That delay was too large for killproc to be successful.

Comments (6)

  1. Tildeslash repo owner

    Please can you send a monit log? It is possible monit was in the middle of some blocking test when the signal was received and it waited for it to timeout.

  2. Ulrich Windl reporter


    Unfortunately there were no operations before, I guess. Here's the context of the stop:

  3. Tildeslash repo owner

    Is it possible to reproduce the issue? If so, please cam you run monit in debug mode ("monit -vI") and send output?

  4. Log in to comment