monit-general
[Top][All Lists]
Advanced

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

Re: Monit restarting Apache stops but doesn't start


From: Jeb Wilkins
Subject: Re: Monit restarting Apache stops but doesn't start
Date: Fri, 15 Apr 2011 22:33:47 +0100

Hi,

I'm using check host because I'm getting rare hangs where apache still is running but isn't responding to http requests.

After the start command runs apache is still down, its not responding to requests until another cycle restarts it again.

Thanks,

Jeb

On 15 Apr 2011 21:15, "Martin Pala" <address@hidden> wrote:

Based on the config it seems that the monitored apache runs on the same host (otherwise the start+stop won't be able to do anything with it) => it will be better to switch to "check process" - Monit will be able to check whether the process was started and will wait for the start to finish - the "check host" is remote check which has no control of the remote process, it will call the start script but won't wait for the process to start so you'll see the result during next cycle.

Regards,
Martin




On Apr 13, 2011, at 12:12 PM, Jeb Wilkins wrote:

> I've got the following monit script on an Ubu...

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


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


reply via email to

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