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