From owner-freebsd-questions@FreeBSD.ORG Fri Jun 4 07:53:54 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E6D6716A4CE for ; Fri, 4 Jun 2004 07:53:54 -0700 (PDT) Received: from gaff.hhhr.ision.net (gaff.hhhr.ision.net [195.180.9.213]) by mx1.FreeBSD.org (Postfix) with ESMTP id B3FD743D1D for ; Fri, 4 Jun 2004 07:53:53 -0700 (PDT) (envelope-from ohoyer@ohoyer.de) Received: from gaff.hhhr.ision.net (ohoyer@localhost [127.0.0.1]) by gaff.hhhr.ision.net (8.12.11/8.12.11) with ESMTP id i54Erncx062304; Fri, 4 Jun 2004 16:53:49 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) Received: from localhost (ohoyer@localhost)i54Erlt8062301; Fri, 4 Jun 2004 16:53:48 +0200 (CEST) (envelope-from ohoyer@ohoyer.de) X-Authentication-Warning: gaff.hhhr.ision.net: ohoyer owned process doing -bs Date: Fri, 4 Jun 2004 16:53:47 +0200 (CEST) From: Olaf Hoyer Sender: ohoyer@gaff.hhhr.ision.net To: Rob In-Reply-To: <40C06BB2.8090007@users.sourceforge.net> Message-ID: <20040604163133.W61943@gaff.hhhr.ision.net> References: <40C01A55.6070809@users.sourceforge.net> <40C02E22.4050205@users.sourceforge.net> <40C06BB2.8090007@users.sourceforge.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: freebsd-questions@freebsd.org Subject: Re: Memory used by caching name server? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 04 Jun 2004 14:53:55 -0000 On Fri, 4 Jun 2004, Rob wrote: > > > > named claims memory on the fly. > > On Solaris, I have bind 8 seen claiming about 800MB RAM for its caching > > database, being the resolver for the machine that creates from http-logs > > colorful pictures and other fancy things... > > Waaauw, that sounds rather dangerous to me. I have a caching nameserver > running on an old Pentium-I with 32 Mb of ram (48 Mb swap). I am still > using it in a testing enviroment, moderately using the named's cache. > So far total memory usage by the OS is very low (swap is hardly used). > > I wonder if named would eat up all the ram in a production enviroment. > Can't imagine that, actually. Nowhere I have seen warnings against > such disaster. But then there is this option for the named configuration > file, that limits the cache memory usage..... > Well, some colleagues have some Machines with 512MB RAM running, also bind 9, but with no given limit on size. They serve as resolvers to several thousands of dedicated servers (customers servers) and use more than 200MB RAM without being limited. The example on Solaris is in a scenarion where a dedicated host has to chew more than 30 GB http logs a day, does reverse lookups and then does some statistics on them, so the named has to look up pretty much domain names... This special host has more than 10 CPU in it, so you can imagine the power needed... On other hosts, where I also run named as caching resolver, I have about 3-4 MB memory footprint for normal use... HTH Olaf -- Olaf Hoyer ohoyer@gaff.hhhr.ision.net Fuerchterliche Erlebniss geben zu raten, ob der, welcher sie erlebt, nicht etwas Fuerchterliches ist. (Nietzsche, Jenseits von Gut und Boese)