monit-general
[Top][All Lists]
Advanced

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

Re: processing error?


From: Nick Upson
Subject: Re: processing error?
Date: Tue, 11 Sep 2012 10:42:47 +0100

On 10 September 2012 15:32, Werner Flamme <address@hidden> wrote:
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Nick Upson [10.09.2012 14:51]:
> I think that my theory may hold water, from /etc/init.d/httpd
>
> # When stopping httpd a delay of >10 second is required before
> SIGKILLing the # httpd parent; this gives enough time for the httpd
> parent to SIGKILL any # errant children. stop() { echo -n
> $"Stopping $prog: " killproc -p ${pidfile} -d 10 $httpd RETVAL=$?
> echo [ $RETVAL = 0 ] && rm -f ${lockfile} ${pidfile} }

And now your config reads

stop  program = "/etc/init.d/httpd stop" with timeout 10 seconds

?

Just curious...

Werner
- --

adding the timeout makes no difference

Nick Upson



reply via email to

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