Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: router/gateway limit problems

On Wed, 30 Dec 2009 00:17:19 -0500
Chris Ross <> wrote:

> Dec 30 00:14:04 router named[19459]: socket: too many open file  
> descriptors
>    Now, I'm sure there is some configurable parameter to either the  
> kernel, or named's environment that could alleviate this problem, but  
> I've been unable to figure it out so far.  This router is, as you'd  
> guess, running a caching nameserver and is the primary nameserver for  
> all connected networks.

Via a quick lookup at named.conf(5) man page I couldn't find
bind-specific socket/connection limit settings, but you may want to
look at the kern.maxfiles sysctl(8), and/or openfiles login.conf(5)
setting (it's possible to create a login class and assign the named
user to that class and specify limits for that users, which is similar
to RLIMIT_NOFILE from getrlimit(2)...

I hope this helps,

Home | Main Index | Thread Index | Old Index