Hi. I saw a similar problem in moving to Net-SNMP 5.6.1. The memory leak was
pretty large as I recall, about 8K per trap. Memory was consumed up to the
limits of the compiler, but this was having an adverse affect on other embedded
applications
It seemed to me that a new MIB had been included by default, the Notification
Log MIB. A call was being made to implement this, and that was where the
memory leak was. The Notification Log MIB wasn’t providing any benefit that I
could see, so I tried unsuccessfully to omit it with a
“—with-out-mibs=”NOTIFICATION_LOG_MIB” directive to the configure step. Since
that didn’t work, I commented out the call to log_notification() in the file
snmpNotifyTable.c. That worked.
Fwiw—there’s probably a more accepted way to solve this.
Gary Dunlap
Dot Hill Systems
1351 S Sunset St
Longmont, CO 80501-6533
303-845-3277
From: Michi M� [mailto:mimi0...@googlemail.com]
Sent: Tuesday, October 30, 2012 3:51 AM
To: net-snmp-users@lists.sourceforge.net
Subject: snmpd memory consumption 5.7.2
Hello together,
I'm using net-snmp 5.7.2 with agentx for my own agent. I actually have the
problem, that when i generate a trap with my device, the memory consuption of
the snmpd is growing. When i generate many traps, the memory consuption grows
till 40% of physical memory and then it stops growing. The snmpd is working
well so my problem is the memory consumption, the same agent compiled with
net-snmp 5.3.2.2 is working without this issue. Has anybody an idea? It looks
to me like a sipmle configuration problem, but i cannot find the right
parameter.
Thank you all.
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_sfd2d_oct
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users