socket: too many open file descriptors

pollex andres.vidoz at
Tue Dec 2 13:17:17 UTC 2008

On 20 nov, 17:09, JINMEI Tatuya / 神明達哉 <Jinmei_Tat... at> wrote:
> At Thu, 20 Nov 2008 04:30:00 -0800 (PST),
> pollex < at> wrote:
> > > "9.3.4-P1.1" still seems to be a Debian specific version, but if this
> > > is featurewise equivalent to 9.3.5-P1, you should at least upgrade to
> > > 9.3.5-P2 (and build it with a large value of ISC_SOCKET_MAXSOCKETS).
> > > In fact, I'd rather more strongly recommend 9.3.6.
> First off, there was a typo in my previous response:
> > how is the exact command line to compile with 4096 FDs?
> > ./configure --ISC_SOCKET_MAXSOCKETS='4096'?
> Replacing the macro name with the correct one, and assuming you're
> using a bsh variant such as zsh and bash:
> But again, I'd rather strongly recommend 9.3.6.  Then you won't have
> to care about ISC_SOCKET_MAXSOCKETS or any other annoying details
> about FD consumption in the first place.  There should be no reason
> for someone considering an upgrade to 9.3.5-P2 not to rather use
> 9.3.6.
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
> _______________________________________________
> bind-users mailing list
> bind-us... at lists.isc.org

Hi Jinmei I have followed your advice and I have installed and
compiled the Bind 9.3.6 with the following command:
STD_CDEFINES="-ISC_SOCKET_FDSETSIZE=4096" ./configure --prefix=/usr/
local/bind9.3.6 --enable-threads
But now I have the following issue, I can't start bind with multi
I have in the init script the lines:
OPTIONS="-u bind -n 8 -t /var/lib/named -c /etc/bind/named.conf"
and in the start part:
mount --bind /proc/ /var/lib/named/proc/ -o ro (This is needed because
bin runs in jail)

Any idea? (With the previous version this works ok)
Thanks for all

More information about the bind-users mailing list