max-cache-size (was: no subject)

gagadget at gagadget at
Fri Jun 20 08:47:09 UTC 2008

Selon Jason Fesler <jfesler at>:
> On May 28, 2008, at 12:46 PM, gagadget at wrote:
> > My DNS servers have only 128 Mb of ram, so I would like to limit
> > bind to grow
> > too widely in ram.
> Please consider 9.5.0 - with the LRU mechanism being used instead.


I have just "tested" the behavior of BIND 9.5 cache.

I did a looping queryperf with 2000 internet domains ( lots of different tld )
on a freshly started named during several hours, then stopped it.
The DNS server is a Solaris 8 machine.

Attached to this mail, you can find the graph of the CPU and memory used by the
named process.

The result is the named process uses 32 Mb of RAM when started and goes to 64 Mb
during the queryperf loop. 12 hours after having stopped the queryperf loop,
named still uses 64Mb and does not clean anything in is cache even if nobody
requests the server.

I don't see any difference between BIND 9.4 and 9.5 even if the last one is
using LRU cache. Maybe I am missing something.


More information about the bind-users mailing list