socket: too many open file descriptors

pollex andres.vidoz at gmail.com
Mon Nov 24 14:44:11 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
> 9.3.6.
>
> ---
> JINMEI, Tatuya
> Internet Systems Consortium, Inc.
> _______________________________________________
> bind-users mailing list
> bind-us... at lists.isc.orghttps://lists.isc.org/mailman/listinfo/bind-users

Ok, thanks
I will try that
Compiling bind 9.3.6 with:
STD_CDEFINES="-ISC_SOCKET_FDSETSIZE=4096" ./configure --prefix=/usr/
local/bind9.3.6 --enable-threads




More information about the bind-users mailing list