Date: Fri, 26 Apr 2002 14:17:17 +1000 From: Stanley Hopcroft <Stanley.Hopcroft@IPAustralia.gov.au> To: Tom Samplonius <tom@sdf.com> 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> In-Reply-To: <Pine.BSF.4.05.10204252002120.6896-100000@misery.sdf.com>; from tom@sdf.com on Thu, Apr 25, 2002 at 08:05:13PM -0700 References: <20020426131917.C9401@IPAustralia.Gov.AU> <Pine.BSF.4.05.10204252002120.6896-100000@misery.sdf.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020426141717.F9401>