Does the leak occur when running the following command in a Cygwin shell on
the system where the Net-SNMP 5.5.0 Windows binary has been installed ?

$ while true; do for ((i=0;i<10;i++)); do snmpset -v2c -cprivate localhost
enterprises.2021.254.8.0 i 1 & done; wait; done

Bart.


On Thu, Jun 10, 2010 at 9:11 PM, Sylvain Dery <[email protected]>wrote:

> On Unix, I compiled the snmpd from the 5.5 source files as found in "
> http://sourceforge.net/projects/net-snmp/files/net-snmp/5.5/";; there is no
> memory leak...
>
> Sylvain
>
>  ------------------------------
> *From:* Bart Van Assche <[email protected]>
> *To:* Sylvain Dery <[email protected]>
> *Cc:* [email protected]
> *Sent:* Thu, June 10, 2010 2:12:15 PM
> *Subject:* Re: Memory leaks when sending traps
>
> On Thu, Jun 10, 2010 at 7:56 PM, Sylvain Dery <[email protected]>wrote:
>
>>
>> There is a memory leak of ~24 k in snmpd everytime I send snmp-v2 traps.
>> I'm using the 5.5 windows binary 
>> (net-snmp-5.5.0-2.x64.exe<http://projects/net-snmp/files/net-snmp%20binaries/5.5-binaries/net-snmp-5.5.0-2.x64.exe/download>)
>>  as download from http://sourceforge.net/projects/net-snmp/files/net-snmp
>> binaries/5.5-binaries/<http://sourceforge.net/projects/net-snmp/files/net-snmp+binaries/5.5-binaries/>on
>>  Windows-XP.  Same leaks occurs with snmp-v1 and informs.
>>
>> Is it a known bug?  It there a fix for this?
>>
>
> How does the Unix snmpd behave if you run the same test on a Unix system ?
>
> Bart.
>
>
------------------------------------------------------------------------------
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