File descriptor leak in notifyTable_unregister_notifications?

"Jules d'Entremont" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
The comment for notifyTable_unregister_notifications says the following:

/*
 * XXX: this really needs to be done for the target mib entries too.
 * But we can only trust that we've added stuff here and we don't want
 * to destroy other valid entries in the target tables, so...  Don't
 * do too many kill -HUPs to your agent as re reading the config file
 * will be a slow memory leak in the target mib. 
 */

Unfortunately, my application requires sending many SIGHUPs, and each one seems to leak a file descriptor.  When 1025 descriptors have been leaked, the select() call hangs, and the process needs to be restarted.  Is there a patch available for this bug?

Thanks.

Jules d’Entremont.

 
--

Jules d’Entremont
[email protected]



-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_idv37&alloc_id865&op=click
_______________________________________________
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.