To many open files

Daniel Stålnacke <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hi,

I'm using snmp to read status once every secound from a device and after
about 10 min I get an error which say that I have to many open files. I have
tried to find the error and close about anything I can find, but the problem
remains.

Here is the code:
http://www8.cs.umu.se/~dv05dse/snmpCode.txt

and the error:
http://www8.cs.umu.se/~dv05dse/snmpError.txt

Can anyone see where the error might be and which file I'm not closing.
I call this function once every secound.

------------------------------------------------------------------------------

_______________________________________________
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.