Hi gents, I have a CentOS 6.6 install with net-snmp running. I'm using SNMPv3 Auth and Encryption with Observium polling devices every five minutes. On one of my Centos server, the net-snmp process will die after 24-36 hours of running. It seems to be hitting my system maximum file open limit which is set to 1024.
> [root@mail net-snmp-5.7]# ulimit -n > 1024 > [root@mail net-snmp-5.7]# lsof -p 26907 | wc -l > 241 > [root@mail net-snmp-5.7]# lsof -p 26907 > snmpd 26907 root 166r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 167r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 168r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 169r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 170r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 171r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 172r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 173r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 174r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 175r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 176r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 177r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 178r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp > snmpd 26907 root 179r REG 0,3 0 4026532160 > /proc/26907/net/sctp/snmp That number will keep increasing till it trips the 1024 limit. It seems that CentOS is frozen to net-snmp 5.5 and I'm don't really want to use anything that I can't easily manage with "yum". The weird thing is that I have another server with the same config/CentOS version/Net-Snmp version and I have no issues with the snmp process on that server. Anything else I could try to troubleshoot the issue? Thanks! ------------------------------------------------------------------------------ Dive into the World of Parallel Programming! The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net _______________________________________________ Net-snmp-users mailing list Net-snmp-users@lists.sourceforge.net Please see the following page to unsubscribe or change other options: https://lists.sourceforge.net/lists/listinfo/net-snmp-users