1000+ processes then Nagios fails

Michael Loftis mloftis at wgops.com
Thu Nov 28 09:20:01 CET 2002


Yup theres a 'concurrency limit' you can set.

in nagios.cfg
max_concurrent_checks=0

which is the default means unlimited.  Set it to something sane for your 
box (I don't know 100 or 200?).

By default it parallelises up to this limit, and if that limit is 0 then of 
course it can run away.

--On Thursday, November 28, 2002 6:32 PM +1000 Shane_Seidel at gwf.com.au 
wrote:

>
>
>
>
> Hi All,
>
> We have a dual P3-1200mhz 512M RAM server running Nagios 1.0 monitoring
> 180 devices and 800 services.
>
> I have noticed that the number of nagios processes increase until they
> reach a count of approx 1000 at which time the server complains it is
> "out of memory" and starts shutting down services.
>
> I found that executing '/etc/rc.d/init.d/nagios reload' from cron would
> "solve" the problem. The number of processes would return to approx 60
> and then start to climb again. I have the cron job execute every 30 mins.
>
> I took the config and put all the hosts, services, etc into Netsaint 0.7
> on a P2-350Mhz 128 mb RAM and processes rarely rise to over 100 and then
> return to 40-60.
>
> Note that I use the "default" option while compiling to maintain backward
> compatibility for Netsaint.
>
> Has anyone else experienced this? Is there any way to restrict the number
> of processes used by nagios. Note also that the big server also runs
> MRTG/RRD on approx 20 devices, although mrtg process complete
>
> Any help appreciated
> Thanks
> Shane
>
>
>
>
> *************************************************************************
> *********************************************************************
> This email and its attachments are confidential subject to copyright and
> may be legally privileged. If they have come to  you in error you should
> take no action based upon the contents nor should you copy or show them
> to anyone. Please  delete the email and its attachments and inform
> administrators at gwf.com.au Any views or opinions expressed are those of
> the author and do not necessarily represent those of George Weston Foods
> Ltd.
> Security: Internet email is not a completely secure medium, please note
> this when considering the content of your message. Viruses: We take
> precautions to ensure email is free of viruses but cannot guarantee this.
> Accordingly we advise scanning all email and attachments
> *************************************************************************
> ********************************************************************
>
>
>
> -------------------------------------------------------
> This SF.net email is sponsored by: Get the new Palm Tungsten T
> handheld. Power & Color in a compact size!
> http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en
> _______________________________________________
> Nagios-users mailing list
> Nagios-users at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nagios-users




-------------------------------------------------------
This SF.net email is sponsored by: Get the new Palm Tungsten T 
handheld. Power & Color in a compact size! 
http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0002en




More information about the Users mailing list