[prev in list] [next in list] [prev in thread] [next in thread] 

List:       net-snmp-coders
Subject:    Re: Memory leaks when sending traps
From:       Bart Van Assche <bvanassche () acm ! org>
Date:       2010-06-17 10:35:39
Message-ID: AANLkTindnjh5O0VGgjxcel6qisyhWEroh3RKlb9q0InD () mail ! gmail ! com
[Download RAW message or body]

[Attachment #2 (multipart/alternative)]


 On Thu, Jun 17, 2010 at 12:29 AM, Sylvain Dery <snmpgroupuser@yahoo.ca>wrote:

> Silly me!  The snmpd.conf file was not configured properly for the
> rwcommunity.
>
> So, the result of the snmpset -v2c -cprivate localhost
> enterprises.2021.254.8.0 i 0 command is:
>
> snmpset -v2c -cprivate localhost enterprises.2021.254.8.0 i 1
> UCD-SNMP-MIB::ucdavis.254.8.0 = INTEGER: 1
>
> And that does generate traps, and a memory leak!
>

Until now I haven't been able to reproduce the memory leak you observed. How
does your snmpd.conf look like ? Which command-line options are passed to
snmpd.exe (you can find these in c:\usr\registeragent.bat) ? Is there
anything else I need to know to reproduce your setup ?

Bart.

[Attachment #5 (text/html)]

<div class="gmail_quote">On Thu, Jun 17, 2010 at 12:29 AM, Sylvain Dery <span \
dir="ltr">&lt;<a href="mailto:snmpgroupuser@yahoo.ca">snmpgroupuser@yahoo.ca</a>&gt;</span> \
wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; \
border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"> <div><div \
style="font-family: times new roman,new york,times,serif; font-size: \
12pt;"><div>Silly me!  The snmpd.conf file was not configured properly for the \
rwcommunity.</div> <div> </div>
<div>So, the result of the snmpset -v2c -cprivate localhost enterprises.2021.254.8.0 \
i 0 command is:</div> <blockquote style="margin-right: 0px;" dir="ltr">
<div><div class="im">snmpset -v2c -cprivate localhost enterprises.2021.254.8.0 i \
1<br></div>UCD-SNMP-MIB::ucdavis.254.8.0 = INTEGER: 1<br></div></blockquote> <div>And \
that does generate traps, and a memory \
leak!</div></div></div></blockquote></div><br>Until now I haven&#39;t been able to \
reproduce the memory leak you observed. How does your snmpd.conf look like ? Which \
command-line options are passed to snmpd.exe (you can find these in \
c:\usr\registeragent.bat) ? Is there anything else I need to know to reproduce your \
setup ?<br> <br>Bart.<br>



------------------------------------------------------------------------------
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
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic