net-snmp 5,4 memory leak when sending out traps

2007-07-19 Thread 吴亚东
I use net-snmp 5.4 to send out enterprise-specific traps. The trap-sending code is like agent/mibgroup/examples/notification.c When sending trap very fast, we can see that snmpd consumes more and more memory(up to 500M). Is there any memory leak problem in net-snmp 5.4? >From http://net-snmp.sour

snmptrapd as a child thread of Windows service process

2007-07-19 Thread Gary Jiang
I have modified snmptrapd codes, removed codes relate to sysytem service and some other codes and options that I think I don't need, and changed main function of snmptrapd.c into a regular function which is a child thread entry function from a main process which in turn started by another Window

Re: Net-SNMP 5.4.1 release schedule

2007-07-19 Thread Robert Story
On Thu, 19 Jul 2007 20:31:52 +0100 Dave wrote: DS> It will probably slip very slightly, but ought to be out within a week. Or two... - This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Stud

netsnmp_table_data_add_row() problem

2007-07-19 Thread Emi Yanagi
Dear net-snmp-coders, There is another major bug I discovered when working on nlmLogVariableTable. netsnmp_table_data_add_row() fails to add rows if a lower oid row does not exist. For example, nlmLogVariableTable has the following objects: nlmLogVariableID nlmLogVariableValueType nlmLogVari

Re: Net-SNMP 5.4.1 release schedule

2007-07-19 Thread Dave Shield
On 19/07/07, Sukwoo Kang <[EMAIL PROTECTED]> wrote: > We plan to release our subagent software which is based on Net-SNMP shared > libraries on AIX. According to your release schedule, the final of 5.4.1 > will be released tomorrow. Is it going to be released as planned? It will probably slip very

Net-SNMP 5.4.1 release schedule

2007-07-19 Thread Sukwoo Kang
Hello, We plan to release our subagent software which is based on Net-SNMP shared libraries on AIX. According to your release schedule, the final of 5.4.1will be released tomorrow. Is it going to be released as planned? Then we can guide customers to use 5.4.1 on AIX without no problem. Please le

Re: Net-SNMP 5.3 Dumping core, Any Ideas?

2007-07-19 Thread Thomas Anders
Jayson Robinson wrote: > We found the issue. I thought you might like to know. After continuous > polling of the agent we saw it die in the TCP mib. I was able to > correlate that to a weblogics server on the box that isn't cleaning up > its connections and leaving idle connections lying around.

RE: rfv: MinGW build fix

2007-07-19 Thread Bruce Shaw
>I offer the following (two-patch) patch for consideration. > >The first part adds checks for 'chown()' and 'localtime_r()'functions to the configure mechanism. >The second part uses the results of these checks to handle the two code fragments that triggered the problem. Does that require a fresh

RE: Net-SNMP 5.3 Dumping core, Any Ideas?

2007-07-19 Thread Jayson Robinson
Dave,We found the issue. I thought you might like to know. After continuous polling of the agent we saw it die in the TCP mib. I was able to correlate that to a weblogics server on the box that isn't cleaning up its connections and leaving idle connections lying around.When the net-snmp

Re: rfv: MinGW build fix

2007-07-19 Thread Dave Shield
On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > >I'm not sure what the purpose of win32/include/net-snmp-config.h.in > > is anyway. Does anything actaully use this? > > win32/Configure Noted. > And given that changes to include/net-snmp/net-snmp-config.h too often > haven't been mi

Re: rfv: MinGW build fix

2007-07-19 Thread Thomas Anders
Dave Shield wrote: > On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: >> One of us must be confused by 'win32' vs. 'include', I guess. > > Doh! > My apologies. Hadn't spotted you were talking about that one. > > > Strictly speaking, yes - the win32 header files should probably > include t

Re: rfv: MinGW build fix

2007-07-19 Thread Dave Shield
On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > One of us must be confused by 'win32' vs. 'include', I guess. Doh! My apologies. Hadn't spotted you were talking about that one. Strictly speaking, yes - the win32 header files should probably include the same definitions. But since the

Re: rfv: MinGW build fix

2007-07-19 Thread Thomas Anders
Dave Shield wrote: > On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: >> Don't we also need a third part (or an addition to the first) that >> changes win32/net-snmp/net-snmp-config.h{,in}? > > Have you looked at the file "mingw-config.patch" ? It may come as a surprise, but I have. Even my

Re: How does a SNMP request get associated with a port?

2007-07-19 Thread Need Help
That clears it up . thanks a lot. Robert Story <[EMAIL PROTECTED]> wrote: On Wed, 18 Jul 2007 13:51:30 -0700 (PDT) Need wrote: NH> I just do not understand how these SNMP requests are related to port 705? I mean how does the master agent get the SNMP request if the master agent is only l

Re: rfv: MinGW build fix

2007-07-19 Thread Dave Shield
On 19/07/07, Thomas Anders <[EMAIL PROTECTED]> wrote: > Don't we also need a third part (or an addition to the first) that > changes win32/net-snmp/net-snmp-config.h{,in}? Have you looked at the file "mingw-config.patch" ? Dave

Re: rfv: MinGW build fix

2007-07-19 Thread Thomas Anders
Dave Shield wrote: > I offer the following (two-patch) patch for consideration. > The first part adds checks for 'chown()' and 'localtime_r()' > functions to the configure mechanism. > The second part uses the results of these checks to > handle the two code fragments that triggered the problem

Re: rfv: MinGW build fix

2007-07-19 Thread Dave Shield
On 17/07/07, Wes Hardaker <[EMAIL PROTECTED]> wrote: Well, we're in various states of partial agreement. So I punted and released rc3 as is. Wimp! I don't mind doing an immediate rc4 if we get a patch everyone agrees on. I offer the following (two-patch) patch for