From owner-freebsd-isp Thu Apr 25 21:17:42 2002 Delivered-To: freebsd-isp@freebsd.org Received: from flora.isecure.com.au (ns1.isecure.com.au [202.125.0.72]) by hub.freebsd.org (Postfix) with ESMTP id 5CE8037B416 for ; Thu, 25 Apr 2002 21:17:35 -0700 (PDT) Received: from leal.isentry.net.au (leal.isecure.com.au [202.125.0.94] (may be forged)) by flora.isecure.com.au (8.11.3/8.11.3) with ESMTP id g3Q4HXE01642; Fri, 26 Apr 2002 14:17:33 +1000 Received: (from smap@localhost) by leal.isentry.net.au (8.12.1/8.12.1) id g3Q4HXgg016103; Fri, 26 Apr 2002 14:17:33 +1000 (EST) Received: from nodnsquery(10.11.3.10) by leal via smap (V5.5) id xma016058; Fri, 26 Apr 02 14:17:22 +1000 Received: from vmail.aipo.gov.au (localhost [127.0.0.1]) by gibbons.isecure.com.au (8.11.3/8.10.2) with ESMTP id g3Q4HL601284; Fri, 26 Apr 2002 14:17:22 +1000 Received: from pc09011.aipo.gov.au (PC09011.aipo.gov.au [10.0.3.110]) by vmail.aipo.gov.au (8.11.6/8.11.6) with ESMTP id g3Q4HIi33169; Fri, 26 Apr 2002 14:17:18 +1000 (EST) (envelope-from Stanley.Hopcroft@IPAustralia.gov.au) Received: (from anwsmh@localhost) by pc09011.aipo.gov.au (8.11.6/8.11.6) id g3Q4HHe10049; Fri, 26 Apr 2002 14:17:17 +1000 (EST) (envelope-from anwsmh) Date: Fri, 26 Apr 2002 14:17:17 +1000 From: Stanley Hopcroft To: Tom Samplonius Cc: FreeBSD-ISP@FreeBSD.ORG Subject: Re: Lame DNS question (can't set maxfiles to default after upgrade to Bind 8.2.4/FreeBSD 4.5-RELEASE-p3) Message-ID: <20020426141717.F9401@IPAustralia.Gov.AU> References: <20020426131917.C9401@IPAustralia.Gov.AU> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: ; from tom@sdf.com on Thu, Apr 25, 2002 at 08:05:13PM -0700 Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org Dear Sir, Thanks for your reply. On Thu, Apr 25, 2002 at 08:05:13PM -0700, Tom Samplonius wrote: > > On Fri, 26 Apr 2002, Stanley Hopcroft wrote: > > ... > > Apr 26 12:38:00 wins named[22746]: reloading nameserver > > Apr 26 12:38:00 wins named[22746]: setrlimit(max number of open files): > > Operation not permitted > > Apr 26 12:38:00 wins named[22746]: Ready to answer queries. > > Only root can use setrlimit() to raise the maximum (hard) limit. Do you > know how high named is trying to set the limit? > From the files section of man 5 named.conf, 'The maximum number of files the server may have open concurrently. The default value is unlimited.' > > On other words, it seems highly unlikely that replication will work. > > > > I have added an entry for BIND to login.conf and remade the > > login database (with cap_mkdb /etc/login.conf ) Here is the new entry. bind:\ :tc=default: # # Root can always login # It seems to be in the database. tsitc2> strings /etc/login.conf.db | grep bind bind: : :passwd_format=md5: :copyright=/etc/COPYRIGHT: :welcome=/etc/motd: :setenv=MAIL=/var/mail/$,BLOCKSIZE=K,FTP_PASSIVE_MODE=YES: :path=/sbin /bin /usr/sbin /usr/bin /usr/games /usr/local/sbin /usr/local/bin /usr/X11R6/bin ~/bin: :nologin=/var/run/nologin: :cputime=unlimited: :datasize=unlimited: :stacksize=unlimited: :memorylocked=unlimited: :memoryuse=unlimited: :filesize=unlimited: :coredumpsize=unlimited: :openfiles=unlimited: :maxproc=unlimited: :sbsize=unlimited: :priority=0: :ignoretime@: :umask=022: bind tsitc2> > Quite likely this all you need to do. named will not have to > setrlimit() to a higher limit, if the existing limit is ok, right? > > Tom > Unfortunately this is what I have done but it doesn't help. Yours sincerely. -- ------------------------------------------------------------------------ Stanley Hopcroft Network Specialist ------------------------------------------------------------------------ '...No man is an island, entire of itself; every man is a piece of the continent, a part of the main. If a clod be washed away by the sea, Europe is the less, as well as if a promontory were, as well as if a manor of thy friend's or of thine own were. Any man's death diminishes me, because I am involved in mankind; and therefore never send to know for whom the bell tolls; it tolls for thee...' from Meditation 17, J Donne. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message