Recommended value for max-cache-size for cache-only shared hosts..

Michael Graff mgraff at
Fri Jun 1 03:17:36 UTC 2012

Hmm, I don't quite think this is a good idea.  BIND 9 (since 9.5) manages memory quite well, but it will happily consume all you have and go into swap.

I'd set it high enough (on a dedicated machine) to use plenty of RAM, but low enough to not cause other OS components to swap out or BIND itself to swap.  75% or 85% range seems like a good starting point.


On May 31, 2012, at 8:18 PM, Doug Barton wrote:

> On 5/31/2012 1:51 PM, blrmaani wrote:
>> Question:
>> what is the recommended configuration for 'max-cache-size' for optimum
>> usage ? 
> You should not restrict the size of the cache at all if you want the
> best performance. BIND will use as much memory as it needs in order to
> satisfy the requests of your users.
> -- 
>    If you're never wrong, you're not trying hard enough
> _______________________________________________
> Please visit to unsubscribe from this list
> bind-users mailing list
> bind-users at

More information about the bind-users mailing list