Anupama Qanungo wrote:

Message: 2

Date: Mon, 20 Sep 2004 16:15:58 +0800
From: Anupama Qanungo <[EMAIL PROTECTED]>
Organization: smartbridges
To:  [EMAIL PROTECTED]
Subject: memory leak in agent

Hi!
Sorry Thomas -I had intended to post it to the list.
There is a memory leak in my snmpd. When I do a walk , ( effectively a single OID), the memory usage keeps on increasing. I went through the bugs list but was unable to figure out how to deal with this problem. It has become a critical problem and any solution/workaround would be appreciated.
Have always got my responses very promptly - hope to get a reply soon this time too.


- the Net-SNMP versionis 5.1
-  OS version - Linux 2.4.25
-   memory leak is 20k  ( an integer OID , self defined)

Thanks
Anupama.


--__--__--

Message: 3
Date: Mon, 20 Sep 2004 10:26:18 +0200
From: Thomas Anders <[EMAIL PROTECTED]>
To:  [EMAIL PROTECTED]
Subject: Re: memory leak in agent

Anupama Qanungo wrote:


- memory leak is 20k ( an integer OID , self defined)


"Self defined"? How, exactly? (subagent, exec/pass, ...)
Please elaborate as much as you can if you want someone to
(be able to) look into this.


+Thomas



memory leak is 20k when I do a get on an integer OID- an OID from my own MIB.
I have no subagent configuration.
thanks


hi !
observed another thing .... when I have a single file [ch] for a number of OIDs , i get a memory leak doing a get/walk on any of the OID. So if I have a tree starting from MyOIDs and oid1, oid2 ... below that, and i create the .[ch] files
using mib2c with MyOIDs ( instead of oid1 , oid2 ...), I get single MyOIDs.[ch] files, and I get to see memory leak in this case.
If there is just 1 [ch] file for each OID (ie oid1.[ch]...) , there appears to be no memory leak.


I compared the files - there seems to be no difference except for the number of init_oid1 ... in the combined file.
May be this information helps u.




-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
Net-snmp-coders mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to