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 This communication is for informational purposes only. It is not intended as an offer or solicitation for the purchase or sale of any financial instrument or as an official confirmation of any transaction. All market prices, data and other information are not warranted as to completeness or accuracy and are subject to change without notice. Any comments or statements made herein do not necessarily reflect those of JPMorgan Chase & Co., its subsidiaries and affiliates. This transmission may contain information that is privileged, confidential, legally privileged, and/or exempt from disclosure under applicable law. If you are not the intended recipient, you are hereby notified that any disclosure, copying, distribution, or use of the information contained herein (including any reliance thereon) is STRICTLY PROHIBITED. Although this transmission and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by JPMorgan Chase & Co., its subsidiaries and affiliates, as applicable, for any loss or damage arising in any way from its use. If you received this transmission in error, please immediately contact the sender and destroy the material in its entirety, whether in electronic or hard copy format. Thank you. Please refer to http://www.jpmorgan.com/pages/disclosures for disclosures relating to European legal entities. ------------------------------------------------------------------------------ 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 Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users