On Fri, Jan 8, 2010 at 3:31 PM, nathan <[email protected]> wrote: > Hi, > I wrote a test program to do "snmpwalk" on an OID periodically. > It worked fine for 4-5 hours, and then it crashed with the follwoing message: > Â snmpwalk: Unknown host (Too many open files). > > Then I checked the agent, and found that it was still running fine. > > does anyone can tell me what went wrong ?
This might be caused by a socket descriptor leak. You can check with lsof how many socket descriptors your program is using while it is running. Bart. ------------------------------------------------------------------------------ This SF.Net email is sponsored by the Verizon Developer Community Take advantage of Verizon's best-in-class app development support A streamlined, 14 day to market process makes app distribution fast and easy Join now and get one step closer to millions of Verizon customers http://p.sf.net/sfu/verizon-dev2dev _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
