Dominic Robinson wrote:
Hello All,
I have an application which uses a large number of sockets, e.g. 10000,
that is also acting as an snmp agent.  If snmpd is restarted, it is
possible that the application's new connection to snmpd uses a file
descriptor >= 1024 - in this case the agent_check_and_process code will
crash due to the fd set size.
As a fix, I've patched my version of net-snmp-config.h to allow the FD_SETSIZE to be re-defined and this seems to work OK.

Please log this as a patch (if you think it should go in as-is) or feature request in our database:

  www.net-snmp.org/patches

so it won't get lost.


+Thomas

--
Thomas Anders (thomas.anders at blue-cable.de)


-------------------------------------------------------
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_id=7637&alloc_id=16865&op=click
_______________________________________________
Net-snmp-coders mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to