On Thu, 4 Nov 2004 10:24:38 -0800 Tony wrote:
TL> I also see memory leak issue with netsnmp (5.1.1) + loadable agent.so code.
TL> I do not use any malloc/free in the agent.so code, but when I run some
TL> snmp set code
TL> over night, I ran out of memory completely. (128MB of Linux).

This patch helps with AgentX set leaks, it might help you too. It is against
5.1.2, but might apply cleanly to 5.1.1.

http://sourceforge.net/tracker/index.php?func=detail&aid=1014853&group_id=12694&atid=456380


TL> such as malloc debugger wrappers and/or handler debug memory dump cmd,
TL> etc....

You can configure with --with-dmalloc or try valgrind.

-- 
Robert Story; NET-SNMP Junkie <http://www.net-snmp.org/>
<irc://irc.freenode.net/#net-snmp>
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-coders>

You are lost in a twisty maze of little standards, all different. 


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to