RE: help-Memory leak while sending the trap using send_v2trap() api

Malathi Panyam <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Try adding the line “doNotRetainNotificationLogs yes” to snmpd.conf file.

If you compile the NetSNMP with NOTFICATION LOG MIB included, all the traps sent out will be saved with agent and the memory will be held as long as agent is alive.

By adding the above line agent will not store the traps.

From: borra kishore babu [mailto:[email protected]]
Sent: Monday, November 21, 2011 4:26 AM
To: [email protected]
Subject: help-Memory leak while sending the trap using send_v2trap() api

Hi,

Iam using the Net SNMP version 5.6.1.1. When trying to send the trap/inform using send_v2trap() api, we can see around 20-30 bytes of memory leak for every trap/inform.

Iam trying to clean up as explained using snmp_free_varbind -

send_v2trap();
snmp_free_varbind().

But still no improvement seen-

It would be helpful if you can suggest any improvement on this.

Thanks,
Kishore
[cid:~WRD000.jpg]<http://sigads.rediff.com/RealMedia/ads/click_nx.ads/www.rediffmail.com/signatureline.htm@Middle?>


Follow Rediff Deal ho jaye!<http://track.rediff.com/click?url=___http://dealhojaye.rediff.com?sc_cid=rediffmailsignature___&cmp=signature&lnk=rediffmailsignature&newservice=deals> to get exciting offers in your city everyday.

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, 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-novd2d

_______________________________________________
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
~WRD000.jpg (image/jpeg, 823 B) - not displayed
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.