Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 11 Jan 1999 18:44:11 -0800 (PST)
From:      Dan Busarow <dan@dpcsys.com>
To:        Lutz Rabing <LutzRab@omc.net>
Cc:        freebsd-isp@FreeBSD.ORG
Subject:   Re: BIND named 4.9.7-T1B too many open files
Message-ID:  <Pine.BSF.3.96.990111181336.7936B-100000@java.dpcsys.com>
In-Reply-To: <199901120049.BAA14001@office.omc.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 12 Jan 1999, Lutz Rabing wrote:
> We just upgraded one of our systems to 2.2.8 and get this message from named:
> 
> ------
> Jan 12 01:25:32  named[827]: starting.  named 4.9.7-T1B Mon Nov 30 03:56:49 GMT 1998       jkh@time.cdrom.com:/usr/o
> bj/usr/src/usr.sbin/named
> Jan 12 01:25:32 abc named[827]: fcntl(dfd, F_DUPFD, 20): Too many open files
> Jan 12 01:25:32 abc last message repeated 13 times
> Jan 12 01:25:34 abc named[828]: Ready to answer queries.
> Jan 12 01:25:34 abc named[828]: Return from getdtablesize() > FD_SETSIZE
> ------
> 
> The machine is a webserver with 250 IPs aliased to the nic. If we add more IP's
> to the system named refuses to start.

Upgrade bind to 8.1.2 and use the listen-on option to keep bind
from binding to every IP on the box.

	listen-on { 5.6.7.8; };

BTW, named has always had this limit, it wasn't the upgrade to 2.2.8
that caused it.

Dan
-- 
 Dan Busarow                                                  949 443 4172
 Dana Point Communications, Inc.                            dan@dpcsys.com
 Dana Point, California  83 09 EF 59 E0 11 89 B4   8D 09 DB FD E1 DD 0C 82


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.990111181336.7936B-100000>