check_snmp memory leak

Mark Krenz mark at suso.org
Mon Apr 13 13:45:59 CEST 2009


  Think your so smart, then why doesn't the Fedora quickinstall in the
Nagios manual just tell you to do that. ;-) 

  Doh!
 
On Sun, Apr 12, 2009 at 11:26:36PM GMT, jmoseley at corp.xanadoo.com [jmoseley at corp.xanadoo.com] said the following:
> 
> The real question, though, is since you're using Cent OS, why not use the
> Nagios RPM's available via yum repository?  It makes upgrading and keeping
> track of dependencies a breeze.
> 
> Not sure what the problem was, but I compiled Nagios 3.0.6 on a RHEL 3
> system using the exact options that were found in the RPM spec file.  I
> ended up with a nagios binary that was twice as large as the one that came
> in the RPM package and the version I compiled myself ran using more memory
> and processor resources than the RPM version.  The difference was probably
> the compiler flags I was using were not optimized for my (or any RHEL)
> system.
> 
> Nine times out of ten, using yum rpm's will ultimately end up yielding
> better results when factoring in system performce, upgrades, etc - and save
> tons of time and headaches.  That's why you're using RHEL, right?  Yes, I
> still have to make RPM's via compilation of source RPM's when the yum
> repository version doesn't include the feature's I need.  For example, I
> have to roll my own Postfix because I need mysql support.
> 
> 
> James Moseley
> 
> 
> 
> 
>                                                                            
>              Mark Krenz                                                    
>              <mark at suso.org>                                               
>                                                                         To 
>              04/12/2009 09:20          nagios-users at lists.sourceforge.net  
>              AM                                                         cc 
>                                                                            
>                                                                    Subject 
>                                        Re: [Nagios-users] check_snmp       
>                                        memory leak                         
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
>                                                                            
> 
> 
> 
> 
> 
> Nevermind, figured it out.  I just tried recompiling without the
> --enable-embedded-perl option and that seems to have fixed it. Now the
> memory usage is staying at just a couple MB.
> 
> Not sure why check_snmp was the only check that seemed to aggravate it
> though.
> 


-- 
Mark S. Krenz
IT Director
Suso Technology Services, Inc.
http://suso.org/

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
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