socket: too many open file descriptors

JINMEI Tatuya / 神明達哉 Jinmei_Tatuya at isc.org
Wed Dec 3 19:43:31 UTC 2008


At Tue, 2 Dec 2008 05:17:17 -0800 (PST),
pollex <andres.vidoz at gmail.com> wrote:

> 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/
> local/bind9.3.6 --enable-threads
> But now I have the following issue, I can't start bind with multi
> threading...
> 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)

First, you don't need to specify ISC_SOCKET_FDSETSIZE in 9.3.6 (but I
don't think it's irrelevant to the main point).

Second, I have no idea.  Maybe it's somehow related to this change:

2472.	[port]		linux: check the number of available cpu's before
			calling chroot as it depends on "/proc". [RT #16923]

hopefully someone more familiar with Linux has some clue.

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



More information about the bind-users mailing list