Nagios 3.1.1 eats cpu like mad

Ricardo Maraschini ricardo.maraschini at opservices.com.br
Mon Aug 10 19:14:00 CEST 2009


----- "Hiren Patel" <hir3npatel at gmail.com> escreveu:
> in any case, the changes you suggested were problematic in one way,
> the 
> run_async_service_check function can return error on a few occasions,
> 
> not limited to the time being invalid. one such condition could be 
> dependency constraints, now if we used current_time to get the next 
> valid time for such a case, it would return current_time right back,
> so 
> nagios will schedule that check right away, and when run again, loop
> in 
> the same manner over and over. this I suspect caused the cpu eating
> seen 
> with that diff.

This make a lot of sense, but I can't see any change on my server load even with the former patch.
Maybe Andreas can apply your patch and see if the load usage goes down, so we have a go.


-rm
-------------- next part --------------
A non-text attachment was scrubbed...
Name: checks.diff
Type: text/x-patch
Size: 661 bytes
Desc: not available
URL: <https://www.monitoring-lists.org/archive/developers/attachments/20090810/6e89c45e/attachment.bin>
-------------- next part --------------
------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
-------------- next part --------------
_______________________________________________
Nagios-devel mailing list
Nagios-devel at lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nagios-devel


More information about the Developers mailing list