Hi All,

        I upgraded the net-snmp version to 5.4.2.1 (is this the latest one ?) 
.i am getting the leak only while doing walk on private mib (which is 
dynamically loaded )
i think the problem is in net-snmp dlmod only ..
is there is any m/m leak patch available ?

Thanks 
Amit




________________________________
From: Magnus Fromreide <[email protected]>
To: Amit Kumar <[email protected]>
Cc: [email protected]
Sent: Thursday, 26 February, 2009 13:03:32
Subject: Re: snmpd memory leak on overnight stress test ..

On Wed, 2009-02-25 at 22:44 -0800, Amit Kumar wrote:
> please find the valgring traces : 
> ... lots of valgrind output...

> Hi All,
>  
>        I am using net-snmp 5.4 version . while doing overnight stress
> test i got a memory leak of 2 MB .. 
> i am not able to figure out the problem .. please help me out ... 

First, net-snmp doesn't deallocate things on shutdown so all the still
reachable blocks may or may not be leaks - there is no way to know.
There is sadly not even a flag to toggle complete deallocation and one
reason for that is that there is a bug somewhere that makes
unregistering trigging a crash :-(

Second, when looking on the trace you had a dl_opened module that had
leaked some memory, I obviously do not know what that did or anything at
all about it.

Third, there was some leaks in the ip-mib and if-mib, those would need
some looking on, thanks for the report.

/MF


      
------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to