Hi, The error “too many open files” actually comes from the operating system — it seems you’re reaching the limit of file descriptors a process may keep open (some linux distros have that limit set to 1024 by default, which seems to be your case).
You can increase this number by editing your system’s limit.conf file: http://linux.die.net/man/5/limits.conf Please check the documentation of your distro for the proper way to increase the number of file descriptors. Cheers -Eduardo Bragatto > On 30 de ago de 2016, at 9:43 AM, Tardif, Christian > <christian.tar...@servinfo.ca> wrote: > > Hi, > > I'm using snmpd as a proxy to handle all my devices polling from a restricted > environment to the production environment. Something like 1400 devices. And > I found that I can set up up to 1010 devices without any problem. But as soon > as I enter more devices, the daemon does not start anymore, complaining that > there are "Too many open files". I tried to increase this value (though I > can't figure out the limit it breaks) to 4,000,000 handlers (from > /prox/sys/fs/file-max (defaults to 202,747). I can't create any more device > anyway. So it must be something else that I can't find out. > > Is this something hardcoded in the library or a value in the config file that > I could play with? > > Tks, > > -- > Christian > > > ------------------------------------------------------------------------------ > _______________________________________________ > 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
------------------------------------------------------------------------------
_______________________________________________ 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