Re: Windows Net-SNMP Handle leak ( more information )
Alex Burger <[email protected]>
| Newsgroups | gmane.network.net-snmp.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Jayson. Can you please post a bug report at http://www.net-snmp.org/bugs/? I'll have a look at it this week to see if I can find the problem. Thanks Alex Jayson A Robinson wrote: > All, > > As you know we have found what appears to be a handle leak with pass_persist extensions. We are able to see this leak in action on every windows system we have instrumented with net-snmp. Microsoft has repeatedly verified the leak within the snmpd.exe process (two separate engineering teams within the company found it at roughly the same time). We have tried both net-snmp 5.4.1.2 and 5.4.2.1 with the same results. > > It appears that Net-SNMP isn't handling the unexpected shutdown of any pass_persist extension properly. It's re-starting the extension in question but any handles that were in use by that extension originally never get freed up. > > We have verified that the handle count does not increase but remains the same if the extension stays running. This is quite easy to replicate. > > steps to replicate: > > 1. configure snmpd.conf to run a bad pass_persist extension (anything that doesn't stay running ) - Could be a batch file for sake of the test, it doesn't even have to respond to a PING / PONG conversation properly. > > 2. add the appropriate line to the snmpd.conf > > 3. poll the oid that exercises your bad agent extension. > > 4. Open up perfmon -> select Add Counters , under the performance object select Process and then select Handle Count. Under the instances select snmpd.exe > > 5. Watch the handle count climb with every poll. > > > Let me know if there's anything further testing that I can do to further assist in troubleshooting this. > > Jayson Robinson > DSS Instrumentation - Performance and Hardware Monitoring Engineering > Global Technology Infrastructure ------------------------------------------------------------------------------ Stay on top of everything new and different, both inside and around Java (TM) technology - register by April 22, and save $200 on the JavaOne (SM) conference, June 2-5, 2009, San Francisco. 300 plus technical and hands-on sessions. Register today. Use priority code J9JMT32. http://p.sf.net/sfu/p _______________________________________________ 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