Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

bind-9.3.5-P2 and socket: too many open file descriptors

52 views
Skip to first unread message

BroBind BroBind

unread,
Aug 18, 2008, 7:30:33 AM8/18/08
to
Hi,
We're running RHEL4-U3 x86_64 OS using bind-9.3.5-P2 (patched from
bind-9.3.5-P1). I still got error this error "socket: too many open file
descriptors" when I applied this options.

STD_CDEFINES="-DISC_SOCKET_FDSETSIZE=16384" ./configure

Systems running both authoritative and caching dns. We also have very much
higher failures in recursive queries.

Any recommendations?

Regards,

Dennis

JINMEI Tatuya / 神明達哉

unread,
Aug 19, 2008, 10:14:41 PM8/19/08
to
At Mon, 18 Aug 2008 19:30:33 +0800,
"BroBind BroBind" <bro...@gmail.com> wrote:

I'd check how many recursive clients the server is handling: rndc status
I'd also check how many sockets named is actually opening by,
e.g. using lsof.

---
JINMEI, Tatuya
Internet Systems Consortium, Inc.

BroBind BroBind

unread,
Aug 21, 2008, 5:43:42 AM8/21/08
to
Hi,
Here's my recursive clients:
[root@NAMESERVER3 ~]# rndc status
number of zones: 622
debug level: 0
xfers running: 0
xfers deferred: 0
soa queries in progress: 0
query logging is ON
recursive clients: 903/75000
tcp clients: 0/100
server is up and running
[root@NAMESERVER3 ~]#

And our lsof:
[root@NAMESERVER3 ~]# lsof|grep named|wc -l
1035

JINMEI Tatuya / 神明達哉

unread,
Aug 21, 2008, 1:04:51 PM8/21/08
to
At Thu, 21 Aug 2008 17:43:42 +0800,
"BroBind BroBind" <bro...@gmail.com> wrote:

> [root@NAMESERVER3 ~]# rndc status
> number of zones: 622
> debug level: 0
> xfers running: 0
> xfers deferred: 0
> soa queries in progress: 0
> query logging is ON
> recursive clients: 903/75000
> tcp clients: 0/100
> server is up and running
> [root@NAMESERVER3 ~]#
>
> And our lsof:
> [root@NAMESERVER3 ~]# lsof|grep named|wc -l
> 1035

These results indicate STD_CDEFINES="-DISC_SOCKET_FDSETSIZE=16384"
didn't actually work as intended. Can you download a test tool from:
http://www.jinmei.org/selecttest.tgz
and show us the results? (see the README file in the test tool for
usage)

0 new messages