Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 22 Nov 1996 06:16:29 -0600 (CST)
From:      Joe Greco <jgreco@brasil.moneng.mei.com>
To:        jlk@pavilion.co.uk (Joe Karthauser)
Cc:        hackers@FreeBSD.org
Subject:   Re: INET aliases and BIND
Message-ID:  <199611221216.GAA10396@brasil.moneng.mei.com>
In-Reply-To: <199611221115.LAA09973@deputy.pavilion.co.uk> from "Joe Karthauser" at Nov 22, 96 11:15:28 am

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199611221216.GAA10396>