On 10 September 2012 15:32, Werner Flamme <[email protected]> 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
--
To unsubscribe:
https://lists.nongnu.org/mailman/listinfo/monit-general

Reply via email to