bind 9.4.3b2: too many open files

Tom Mueller t.mueller at strato-rz.de
Thu Jul 10 10:41:18 UTC 2008


Hi,

yesterday we tested the beta version bind-9.4.3b2 and had some problems,
so we had to switch back to the formerly used (insecure) version 9.4.2.
The server is running under 'Linux 2.6.16.13-4-bigsmp athlon GNU/Linux'
and ulimit -n shows '1024', fs.file-max was set up to 768000 for testing.
In named.conf, recursive-clients is set to 5000.
rndc status shows
    number of zones: 210
    debug level: 0
    xfers running: 0
    xfers deferred: 0
    soa queries in progress: 0
    query logging is ON
    recursive clients: 2195/4900/5000
    tcp clients: 0/100
    server is up and running

The query rate is between 7.000 and 12.000 queries/sec.

When running 9.4.3b2 we found in the bind log a lot of messages as follows

09-Jul-2008 21:29:01.147 general: socket.c:2435: unexpected error:
09-Jul-2008 21:29:01.147 general: socket.c:2435: unexpected error:
09-Jul-2008 21:29:01.147 general: internal_accept: fcntl() failed: Too
many open files
09-Jul-2008 21:29:01.147 general: internal_accept: fcntl() failed: Too
many open files
09-Jul-2008 21:32:12.589 general: socket.c:523: unexpected error:
09-Jul-2008 21:32:12.589 general: socket.c:523: unexpected error:
09-Jul-2008 21:32:12.589 general: epoll_ctl(DEL), 218: Bad file descriptor
09-Jul-2008 21:32:12.589 general: epoll_ctl(DEL), 218: Bad file descriptor
09-Jul-2008 21:38:03.663 general: socket.c:523: unexpected error:
09-Jul-2008 21:38:03.663 general: socket.c:523: unexpected error:
09-Jul-2008 21:38:03.664 general: epoll_ctl(DEL), 791: Bad file descriptor
09-Jul-2008 21:38:03.664 general: epoll_ctl(DEL), 791: Bad file descriptor
09-Jul-2008 21:40:02.043 general: socket.c:2435: unexpected error:
09-Jul-2008 21:40:02.043 general: socket.c:2435: unexpected error:
09-Jul-2008 21:40:02.043 general: internal_accept: fcntl() failed: Too
many open files
09-Jul-2008 21:40:02.043 general: internal_accept: fcntl() failed: Too
many open files

netstat shows >900 UDP connections in state ESTABLISHED, but tcpdump
doesn't show any traffic on  the  watched connections.

Can someone give me a hint what's wrong and how to fix it?
Thanks in advance.

Best Regards

-- 
Tom Mueller
Entwicklung Dedicated Servers
------------------------------------------------------------
Telefon: + 49 (0)30 - 398 02 - 0
Telefax: + 49 (0)30 - 398 02 - 222
E-Mail:  t.mueller at strato-rz.de
------------------------------------------------------------
Strato Rechenzentrum AG
Pascalstr. 10
10587 Berlin
----------------------------- -------------------------------
Aufsichtsrat: Damian Schmidt (Vorsitz), Stephan Esch, Andreas Sand
Vorstand: Julien Ardisson, Christian Mueller,
Christian Negrutiu, Christoph Steffens, Rene Wienholtz
Amtsgericht Berlin-Charlottenburg HRB 75629



More information about the bind-users mailing list