Re: Memory leak when using monitor

Chris Down <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Alcor Communications Ltd
Message-ID <[email protected]>
On 29/06/2011 15:19, Chris Down wrote:
> I am testing net-snmp on and embedded ARM board and I have found what appears to be a memory leak in net-snmp, when using the monitor command in snmpd.conf. The memory leak only seems to occur with r values other than the default 600s. I have added the following lines to my snmpd.conf file and tested with both 5.6.1.1 and the latest svn as of today. 
> 
> proc test
> monitor -S -r 33 -o prNames -o prErrMessage "Process Table" prErrorFlag 0 1
> 
> The value of r has an impact on the rate of the memory leak. Using a value of 33s shows the memory increase after approximately 6 minutes then and further increases at approximately 10 minute intervals.
> 
> time minutes    vsz
>    0           7576
>    6           7704
>   16           7832
>   26           7960
>   36           8088
>   46           8212
>   56           8340

Just for info, this memory leak seems to have been fixed for 5.7.

Chris

------------------------------------------------------------------------------
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.