From owner-freebsd-hackers Fri Nov 22 04:17:39 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id EAA16552 for hackers-outgoing; Fri, 22 Nov 1996 04:17:39 -0800 (PST) Received: from brasil.moneng.mei.com (brasil.moneng.mei.com [151.186.109.160]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id EAA16547 for ; Fri, 22 Nov 1996 04:17:37 -0800 (PST) Received: (from jgreco@localhost) by brasil.moneng.mei.com (8.7.Beta.1/8.7.Beta.1) id GAA10396; Fri, 22 Nov 1996 06:16:29 -0600 From: Joe Greco Message-Id: <199611221216.GAA10396@brasil.moneng.mei.com> Subject: Re: INET aliases and BIND To: jlk@pavilion.co.uk (Joe Karthauser) Date: Fri, 22 Nov 1996 06:16:29 -0600 (CST) Cc: hackers@FreeBSD.org In-Reply-To: <199611221115.LAA09973@deputy.pavilion.co.uk> from "Joe Karthauser" at Nov 22, 96 11:15:28 am X-Mailer: ELM [version 2.4 PL24] Content-Type: text Sender: owner-hackers@FreeBSD.org X-Loop: FreeBSD.org Precedence: bulk > Hello, > > I've got an interesting question to do with BIND running on a machine > with IP aliases. > > My machine is running FreeBSD2.1.5 (straight off the CD) and has an > entire class C of /32 inet aliases attached to the ethernet card. This > is to facilitate a batch of virtual ftp servers. The problem is this. > I also want to run named on the machine, and when I start it I get: > > Nov 22 10:32:40 dougal named[2019]: starting. named LOCAL-960717.011537 Wed Jul 17 01:15:37 1996 jkh@whisker.cdrom.com:/usr/src/usr.sbin/named > Nov 22 10:32:40 dougal named[2019]: socket(SOCK_DGRAM): Too many open files - exiting > > I guess that named doesn't like binding inaddrany, how can this be solved? > > Cheers in advance for any help, > All the best, > Joe. named opens a separate socket for each (virtual) interface it finds. You might need to change the invocation to something like "csh -c unlimit descriptors; named", as you are probably banging into the per process descriptor limit. ... JG