When to HUP and when to restart?
Morris, Patrick
patrick.morris at hp.com
Mon Dec 28 19:05:27 CET 2009
Jim Avery wrote:
> 2009/12/24 Jonathan Call <jcall at verio.net>:
>
>> If you’re using the embedded Perl interpreter a restart is probably better since the interpreter leaks memory.
>>
>> If you have a very large solution (thousands of service checks) a restart will take a considerable amount of time so a HUP would probably be wise in that situation.
>>
>
>
> Thank you - it will make a huge difference not to have to restart once
> or twice a day. Thanks to 6000 or so service checks and the NDO
> back-end a restart takes a minute or two.
>
It should probably be noted that even a reload can take a while if
you've got NDO on the back end, because it still needs to do all the
database voodoo that happens when you restart. The upside to a SIGHUP,
though, is that Nagios just stops doing anything during that period, but
won't throw an error page like it does on a full restart.
FWIW, we use embedded Perl here and thousands of service checks, and
rarely, if ever, need to issue a full restart.
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Nagios-users mailing list
Nagios-users at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-users
::: Please include Nagios version, plugin version (-v) and OS when reporting any issue.
::: Messages without supporting info will risk being sent to /dev/null
More information about the Users
mailing list