Hi all,

This is usual problem arising from insufficient open file descriptors. In
such case
snmpd can stop responding and sometimes may crash.

Just increase ulimit open files(ulimit -n 65536 ) and restart snmpd daemon.
For permanent change you have to tweak sysctl-s fs.filemax and
/etc/security/limits.conf.

HTH,
Fedor

On Mon, Jan 5, 2015 at 11:37 AM, Niels Baggesen <n...@users.sourceforge.net>
wrote:

> On Fri, Dec 12, 2014 at 02:28:38AM -0500, Nanev, Ivan (Contractor) wrote:
> > Hi Coders,
> > We are having issues with SNMPd crashing at least once every 24 hours.
>
> Can you get a traceback from the crash?
>
> > snmpd: Cannot open /proc/net/arp
> > cannot open /proc/net/dev ...
> > /proc/stat: Too many open files
>
> Sounds like you are out of file descriptors. I cannot remeber to have
> seen such a problem before. Can you run lsof against the running snmpd?
> That might give us a hint to where the leak is.
>
> By the way, what OS is this? Is this a version that you have compiled
> yourself, and if so what arguments did you pass to configure?
>
> I see that you run 5.7.1. Could you try with the current 5.7.3 release?
>
> /Niels
>
> --
> Niels Baggesen - @home - Ã…rhus - Denmark - n...@users.sourceforge.net
> The purpose of computing is insight, not numbers   ---   R W Hamming
>
>
> ------------------------------------------------------------------------------
> 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-coders mailing list
> Net-snmp-coders@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
>
------------------------------------------------------------------------------
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-coders mailing list
Net-snmp-coders@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/net-snmp-coders

Reply via email to