monit-general
[Top][All Lists]
Advanced

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

Re: processing error?


From: Werner Flamme
Subject: Re: processing error?
Date: Mon, 10 Sep 2012 16:32:11 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120825 Thunderbird/15.0

-----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
- -- 
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://www.enigmail.net/

iEYEARECAAYFAlBN+esACgkQk33Krq8b42N5awCfUKqtda+nliHNyOvAOLzk40An
b0sAnjvTRZYu7ZyaIlpiZD6M2EsaUXMd
=iQV5
-----END PGP SIGNATURE-----



reply via email to

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