[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Unable to stop monit
From: |
Martin Pala |
Subject: |
Re: Unable to stop monit |
Date: |
Tue, 9 Feb 2016 22:53:38 +0100 |
Please can you provide more details about the system?
There was one report about the same problem when monit is running in LXC
container:
https://bitbucket.org/tildeslash/monit/issues/317/monit-stuck-in-uninterruptible-sleep-state
It doesn't seem as monit bug though - the problem seems to be in FUSE driver
which blocks in the read() system call.
> On 09 Feb 2016, at 21:34, deranjer <address@hidden> wrote:
>
> I am unable to kill the monit process, unsure why or how to proceed:
>
> address@hidden:/etc/monit/conf.d# monit quit
> Monit daemon with pid [1269] killed
> address@hidden:/etc/monit/conf.d# ps aux | grep monit
> root 1269 0.0 0.1 15100 4652 ? D 13:55 0:01
> /usr/bin/monit -c /etc/monit/monitrc
> root 23460 0.0 0.0 4568 2012 pts/2 S+ 16:18 0:00 grep monit
> address@hidden:/etc/monit/conf.d# service monit stop
> address@hidden:/etc/monit/conf.d# service monit status
> ● monit.service - LSB: service and resource monitoring daemon
> Loaded: loaded (/etc/init.d/monit)
> Active: failed (Result: exit-code) since Tue 2016-02-09 16:15:21 EST;
> 4min 13s ago
> Process: 23315 ExecStop=/etc/init.d/monit stop (code=exited,
> status=1/FAILURE)
> Process: 890 ExecStart=/etc/init.d/monit start (code=exited,
> status=0/SUCCESS)
>
> Feb 09 13:55:52 DMZ-Server monit[890]: Starting daemon monitor: monit.
> Feb 09 13:55:52 DMZ-Server systemd[1]: Started LSB: service and resource
> monitoring daemon.
> Feb 09 16:12:59 DMZ-Server systemd[1]: Started LSB: service and resource
> monitoring daemon.
> Feb 09 16:15:11 DMZ-Server systemd[1]: Stopping LSB: service and resource
> monitoring daemon...
> Feb 09 16:15:21 DMZ-Server monit[23315]: Stopping daemon monitor: monit
> failed!
> Feb 09 16:15:21 DMZ-Server systemd[1]: monit.service: control process
> exited, code=exited status=1
> Feb 09 16:15:21 DMZ-Server systemd[1]: Stopped LSB: service and resource
> monitoring daemon.
> Feb 09 16:15:21 DMZ-Server systemd[1]: Unit monit.service entered failed
> state.
> Feb 09 16:19:31 DMZ-Server systemd[1]: Stopped LSB: service and resource
> monitoring daemon.
> address@hidden:/etc/monit/conf.d# ps aux | grep monit
> root 1269 0.0 0.1 15100 4652 ? D 13:55 0:01
> /usr/bin/monit -c /etc/monit/monitrc
> root 23525 0.0 0.0 4568 1980 pts/2 S+ 16:19 0:00 grep monit
> address@hidden:/etc/monit/conf.d# kill -9 1269
> address@hidden:/etc/monit/conf.d# ps aux | grep monit
> root 1269 0.0 0.1 15100 4652 ? D 13:55 0:01
> /usr/bin/monit -c /etc/monit/monitrc
> root 23529 0.0 0.0 4568 2008 pts/2 S+ 16:19 0:00 grep monit
> address@hidden:/etc/monit/conf.d# kill -KILL 1269
> address@hidden:/etc/monit/conf.d# ps aux | grep monit
> root 1269 0.0 0.1 15100 4652 ? D 13:55 0:01
> /usr/bin/monit -c /etc/monit/monitrc
> root 23662 0.0 0.0 4568 2020 pts/2 S+ 16:21 0:00 grep monit
>
>
>
>
> --
> View this message in context:
> http://nongnu.13855.n7.nabble.com/Unable-to-stop-monit-tp208452.html
> Sent from the monit-general mailing list archive at Nabble.com.
>
> --
> To unsubscribe:
> https://lists.nongnu.org/mailman/listinfo/monit-general