Re[2]: snmpd handles limit

"Christian Tardif" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <emffc21499-9155-4585-a696-dbdad9315ca7@tardich052015>
Yep, you're right. Been able to set it correctly on Ubuntu 14.04 
(/etc/security/limits.conf), but the same configuration does not seem to 
work on Ubuntu 16.04. Trying to figure out why.

Thanks for pointing this out.
--------------------------------------------------------------------------------
Christian Tardif



------ Message d'origine ------
De: "Eduardo Bragatto" <[email protected]>
À: [email protected]
Envoyé : 2016-08-30 17:04:44
Objet : Re: snmpd handles limit

>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 
>><[email protected]> 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
>>[email protected]
>>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
[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.