The option is not recognised by snmpd:
    snmpd.conf: line 7: Warning: Unknown token: doNotRetainNotificationLogs.

This seems to be a flag for the snmptrapd process...

I tried starting the snmpd with the -Fn flag but I still get the memory leak :-(

Sylvain



________________________________
From: Robert Story <[email protected]>
To: Sylvain Dery <[email protected]>
Cc: [email protected]
Sent: Fri, June 11, 2010 11:26:45 AM
Subject: Re: Memory leaks when sending traps

On Thu, 10 Jun 2010 10:56:27 -0700 (PDT) Sylvain wrote:
SD> There is a memory leak of ~24 k in snmpd everytime I send snmp-v2 traps.
SD> I'm using the 5.5 windows binary (net-snmp-5.5.0-2.x64.exe )

If that binary was configured with notification logging, then it could be that
it's not leaking, but simply saving traps. Try adding this line to your
snmpd.conf and seeing if the leak goes away:

    doNotRetainNotificationLogs yes


------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate 
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the 
lucky parental unit.  See the prize list and enter to win: 
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to