Hello, I'm using Net-SNMP-5.2 I ran the test below, for about 10 min. In the meantime, I monitored the memory consumption of the process. You can see the result of the ps command in the following lines. My conclusion is that it seems there is a memory leak in the interface between the Perl module and the C API.
~% ps aux | grep perl USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user1 32406 10.0 0.3 6084 4028 pts/5 S 11:53 0:00 /usr/bin/perl -w 10 min later ~% ps aux | grep perl USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user1 32406 6.8 8.4 89412 87244 pts/5 S 11:53 0:41 /usr/bin/perl -w 10 min later ~% ps aux | grep perl USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND user1 32406 6.9 16.4 170796 168628 pts/5 R 11:53 1:22 /usr/bin/perl -w #! /usr/bin/perl -w use strict; use SNMP; while (1) { foreach my $oid (sort(keys(%SNMP::MIB))) { print "$SNMP::MIB{$oid}->{objectID} "; print "$SNMP::MIB{$oid}->{label} "; print "$SNMP::MIB{$oid}->{moduleID} "; print "$SNMP::MIB{$oid}->{type} "; print "$SNMP::MIB{$oid}->{access}\n"; } sleep(1); } Gael This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message. ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ 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