On 18 nov, 18:50, Fr34k <[EMAIL PROTECTED]> wrote: > Hello, > > When we were using 9.5.0-P2, we had to compile with 4096 FDs; otherwise, we= > saw the same socket complaints. > > The default only has 1024. It would appear that your environment may requir= > e more FDs as ours did. > > HTH -- Chris > > =A0 > > ----- Original Message ---- > From: pollex <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED] > Sent: Tuesday, November 18, 2008 9:04:55 AM > Subject: socket: too many open file descriptors > > Hello, > Running bind9 9.3.4-2etch3 on Debian etch 4.0(last stable version with > apt-get install bind9) and I continue to get "socket: too many open > file descriptors" messages. > > my ulimit -a: > core file size=A0 =A0 =A0 =A0 =A0 (blocks, -c) 0 > data seg size=A0 =A0 =A0 =A0 (kbytes, -d) unlimited > max nice=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (-e) 0 > file size=A0 =A0 =A0 =A0 =A0 =A0 =A0 (blocks, -f) unlimited > pending signals=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (-i) unlimited > max locked memory=A0 =A0 =A0 (kbytes, -l) unlimited > max memory size=A0 =A0 =A0 =A0 (kbytes, -m) unlimited > open files=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (-n) 24576 > pipe size=A0 =A0 =A0 =A0 =A0 =A0 (512 bytes, -p) 8 > POSIX message queues=A0 =A0 (bytes, -q) unlimited > max rt priority=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (-r) 0 > stack size=A0 =A0 =A0 =A0 =A0 =A0 =A0 (kbytes, -s) 8192 > cpu time=A0 =A0 =A0 =A0 =A0 =A0 =A0 (seconds, -t) unlimited > max user processes=A0 =A0 =A0 =A0 =A0 =A0 =A0 (-u) unlimited > virtual memory=A0 =A0 =A0 =A0 =A0 (kbytes, -v) unlimited > file locks=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 (-x) unlimited > > And we already tried the selectest tool: > ./selecttest > selecttest: nsocks =3D 4093, TEST_FDSETSIZE =3D -1, FD_SETSIZE =3D 1024, > sizeof fd_set =3D 128 > created 4093 sockets, maxfd =3D 4095 > FD_CLR test...OK > FD_SET test...OK > select test...OK > > Any ideas? > Thanks in advice > _______________________________________________ > bind-users mailing list > [EMAIL PROTECTED]://lists.isc.org/mailman/listinfo/bind-users > > _______________________________________________ > bind-users mailing list > [EMAIL PROTECTED]://lists.isc.org/mailman/listinfo/bind-users
First of all thanks for the answerings. The version of bind is "BIND 9.3.4-P1.1" And the error appears when named open around of 1000 sockets: lsof | grep named | wc -l 968 If I have to reinstall bind, there are any way to do it via apt-get? Or the only way is compiling the binaries? Thanks again _______________________________________________ bind-users mailing list bind-users@lists.isc.org https://lists.isc.org/mailman/listinfo/bind-users