Re: Too many files

Robert Story <[email protected]>
Newsgroups gmane.network.net-snmp.user
Organization Net-SNMP
Message-ID <20051201165428.4f75189d@aud>
On Wed, 16 Nov 2005 22:53:13 -0500 Albert wrote:
AW> I am running Mandriva 2006 with net-snmp-5.2.1.2-4mdk.  I noticed this 
AW> week that there failures occurring with snmp communications after some 
AW> period of time.  Here is a sample of the failures I have encountered.
AW> 
AW>  grep "Nov 14 18:3" /var/log/syslog | grep snmp | more
AW> Nov 14 18:30:33 ns3 snmpd[5064]: Connection from UDP: [xx.xx.xx.xx]:49495
AW> Nov 14 18:30:33 ns3 snmpd[5064]: Received SNMP packet(s) from UDP: 
AW> [xx.xx.xx.xx]:49495
AW> Nov 14 18:30:33 ns3 snmpd[5064]: Connection from UDP: [xx.xx.xx.xx]:49495
AW> Nov 14 18:31:33 ns3 snmpd[5064]: warning: cannot open /etc/hosts.allow: 
AW> Too many open files

Hmmm... can you use lsof on the PID of snmpd, and see how many files it has
open? If it isn't release a file descriptor, that's a pretty serious bug. But
it might be an OS limit that has been hit....

Of course, I'm not sure what we should do if we can't read the hosts.allow
file.

-- 
NOTE: messages sent directly to me, instead of the lists, will be deleted
      unless they are requests for paid consulting services.

Robert Story; NET-SNMP Junkie
Support: <http://www.net-snmp.org/> <irc://irc.freenode.net/#net-snmp>  
Archive: <http://sourceforge.net/mailarchive/forum.php?forum=net-snmp-users>

You are lost in a twisty maze of little standards, all different. 


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