socket: too many open file descriptors
andres.vidoz at gmail.com
Tue Dec 2 13:17:17 UTC 2008
On 20 nov, 17:09, JINMEI Tatuya / 神明達哉 <Jinmei_Tat... at isc.org> wrote:
> At Thu, 20 Nov 2008 04:30:00 -0800 (PST),
> pollex <andres.vi... at gmail.com> 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:
> ISC_SOCKET_MAXSOCKETS should have been ISC_SOCKET_FDSETSIZE.
> > 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:
> % STD_CDEFINES='-DISC_SOCKET_FDSETSIZE=4096' ./configure
> 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
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
> bind-users mailing list
> bind-us... at lists.isc.orghttps://lists.isc.org/mailman/listinfo/bind-users
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/
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