Difference in CPU time with and without ePN

Thomas Guyot-Sionnest dermoth at aei.ca
Sat Jan 12 06:05:56 CET 2008


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 11/01/08 11:00 AM, Thomas Guyot-Sionnest wrote:
> Andreas Ericsson wrote:
>> Thomas Guyot-Sionnest wrote:
>>> 1. Kill and restart Nagios instead of HUP'ing it (Why don't nagios
>>> execve itself on HUPs BTW?)
>> I have no idea. It would definitely make it easier to write modules
>> for it, as each new load is 100% certain to provide a clean slate.
> 
> Eh, I just flashed back on this. I know why; it's simply because Nagios
> opens the resource file (usually readable only by root) before dropping
> privileges. The only way it can restart by itself without loosing access
> to that file is what it does right now.

Oops I though It was that but apparently it's not the case (at least on
Nagos 3); if the file is only readable by root Nagios fails on HUP's.

Sorry for the spam (actually for not verifying my claims...) :(

Thomas

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFHiEq06dZ+Kt5BchYRAvVoAKDhFrNVEaPMheJYWrxuni61S2panACfV4w9
Lue30C6gfbhqViO+JEIFjWc=
=VWYM
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace




More information about the Developers mailing list