Growing CPU utilization

Thomas Guyot-Sionnest dermoth at aei.ca
Thu Jan 8 06:05:13 CET 2009


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

On 06/01/09 06:14 PM, Marc Powell wrote:
> On Jan 6, 2009, at 4:23 PM, Bryan Wann wrote:
> 
>> Through process of elimination, I think I've tracked it down to perl
>> plugins. ePN is in use.  I'm tracking 11,309 services on 1,364  
>> hosts, 26%
>> of those service checks are perl (manubulon.com's check_snmp_mem,
>> check_snmp_load) and the rest are C (check_icmp, check_snmp).
> 
> Unless those perl plugins have been designed specifically to work with  
> ePN, then I wouldn't be too surprised to see oddness. ePN transforms  
> the plugin in a way that can cause unexpected breakage if the author  
> wasn't expecting it.
> 
> http://nagios.sourceforge.net/docs/3_0/embeddedperl.html and http://nagios.sourceforge.net/docs/3_0/epnplugins.html 
>   as well as most archive postings by Stanley Hopcroft can provide  
> insight as well as some troubleshooting hints (like using contrib/ 
> mini_epn for testing, though I have doubts it would show a gradual  
> problem such as this).
> 
> The simplest troubleshooting path may be to use the '# nagios: -epn'  
> flag to disable ePN processing on individual plugins (or all, then add  
> them back individually) to help identify the plugin that's causing the  
> issue.

I noticed the same thing; the system CPU time increase is directly
attributable to the memory leaks in Nagios and/or ePN.

That said, the speed at which memory leaks in Nagios 3.0 with the same
configuration and scripts is tremendously higher. There is very likely
some important leak(s) that got shipped with the 3.0.x release.

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

iD8DBQFJZYmI6dZ+Kt5BchYRAp3WAJ9SmUSQpYgGBRLk6GXIXtfHq9NU+QCgqEmY
8JaMF8NGrB0WlRACrmLW4y0=
=bYoW
-----END PGP SIGNATURE-----

------------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It is the best place to buy or sell services for
just about anything Open Source.
http://p.sf.net/sfu/Xq1LFB
_______________________________________________
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