Controlling cache size

phn at icke-reklam.ipsec.nu phn at icke-reklam.ipsec.nu
Sat Apr 27 10:35:08 UTC 2002


John Fox <jjf at mind.net> wrote:

> Hi!  My question concerns a BIND 8.3.1-REL installation.

> We've a nameserver with a fairly limited amount of RAM (64MB).  Left 
> unattended, its cache grows to a fairly unwieldy size, drastically
> slowing lookups and impacting upon customer services.  I have been
> charged with finding a remedy to this situation.

Buy more memory.

Nameservers tend to use memory that is a balance beteen 
the client's demands and TTL values given in the cached RR.
After a few days of contigous usage the memory will stabilize.





> I immediately siezed upon the 'datasize' option, but was told that
> this does not relate to cache-management per se, and then when the
> datasize limit is hit, the effect will be that named can't get
> any more memory, thus not being able to perform further lookups --
> which would again bring us to a situation in which customer services
> are (greatly) delayed.  Not good!

> None of the other options I found in the named.conf manpage seem
> like they'll do the trick.  So I'm kind of dead in the water
> right now.  Any suggestions would be greatly appreciated!

> Thanks in advance,

> John
> -- 
> +---------------------------------------------------------------------------+
> | John Fox <jjf at mind.net> | System Administrator | Internet Ventures Oregon |
> +---------------------------------------------------------------------------+
> |  "The people and friends that we have lost, the dreams that have faded... |
> |  never forget them."  -- Yuna, Final Fantasy X                            |
> +---------------------------------------------------------------------------+


-- 
Peter Håkanson         
        IPSec  Sverige      (At the Riverside of Gothenburg, home of Volvo)
           Sorry about my e-mail address, but i'm trying to keep spam out.
	   Remove "icke-reklam" and it works.


More information about the bind-users mailing list