Re: Net-snmp leaks memory after 5 hours

kavita raghunathan <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Here is the output of top: note that snmpd started out at 8976, now it is at 11024:
777 1 root S 11024 10% 0% /sbin/snmpd -Ls 3 -d -p /tmp/sf_run/sn

I'm running on linux, net-snmp 5.5, I have enclosed the output of configure as requested:

[kraghunathan@KavitaSFDev sbin]$ net-snmp-config --configure-options
 '--with-mib-modules=skyfiber-owb-mib' '--with-linkcc=g++' '--with-libs=/home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/libui.a /home/kraghunathan/views/sfdev-2.0/src/thirdparty/net-snmp-5.5/libutl.a /usr/lib/libpthread.a'

I'm now trying without any mibs at all(removed skyfiber-owb-mib) to see if  can reproduce the problem. Valgrind didnt give me any useful output.

The leak happens on the dot after 5 hours. 

Kavita
--- On Tue, 9/7/10, Thomas Anders <[email protected]> wrote:

> From: Thomas Anders <[email protected]>
> Subject: Re: Net-snmp leaks memory after 5 hours
> To: [email protected]
> Date: Tuesday, September 7, 2010, 5:13 PM
> kavita raghunathan wrote:
> > Hello, After 5 hours, I notice that the memory usage
> of net-snmp has jumped. It does not seem to depend on the
> application code I have written - any ideas where to look ?
> 
> Would you mind giving us a bit more information to work
> with? What platform, what net-snmp version, what's the
> output of "net-snmp-config --configure-options", what's your
> run-time configuration (snmpd.conf and command-line
> options), what queries do you perform during those 5 hours,
> how exactly do you see the leak, can you also reproduce it
> without your application code and so on.
> 
> 
> +Thomas
> 
> ------------------------------------------------------------------------------
> This SF.net Dev2Dev email is sponsored by:
> 
> Show off your parallel programming skills.
> Enter the Intel(R) Threading Challenge 2010.
> http://p.sf.net/sfu/intel-thread-sfd
> _______________________________________________
> 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
> 


      

------------------------------------------------------------------------------
This SF.net Dev2Dev email is sponsored by:

Show off your parallel programming skills.
Enter the Intel(R) Threading Challenge 2010.
http://p.sf.net/sfu/intel-thread-sfd
_______________________________________________
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.