We're seeing snmpd (NET-SNMP version: 5.4) apparently leaking memory when subjected to repeated snmpwalks. It seems to happen wherever we walk, but most noticeably on perl-delivered OIDs.
To reproduce, take the perl demo code from: - http://www.net-snmp.org/wiki/index.php/Tut:Extending_snmpd_using_perl Configure it into snmpd.conf and restart snmpd. Then in one terminal start repeated walks with: # while true ; do snmpwalk -v2c -c public -m all localhost .1.3.6.1.4.1.8072.999 ; done And in another terminal watch the memory usage grow with: # while true ; do ps -o pid,bsdstart,state,rss,size,vsize,args -Csnmpd | tail -1 ; sleep 2 ; done Is this normal? Is it a known problem? Is there a fix/workaround available? Or are we doing something wrong? (Or is the tutorial code bad?) Running on Linux 2.4.32 (in case that is relevant). ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Net-snmp-users mailing list [email protected] Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users
