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

blr maani blrmaani at gmail.com
Fri Jun 1 05:26:19 UTC 2012


Doug,
  hmmm.. 75%-85% seems too large because the host runs email application in
addition to cache-and-forward-only BIND (for better local caching). So, I
was wondering if there are any best/proven practice/recommendations for
such shared application hosts ?

The default value is 32MB. We have 8GB RAM. I don't know if its better to
start with 1GB (1/8th of RAM)?

thanks
blr


On Thu, May 31, 2012 at 8:17 PM, Michael Graff <mgraff at isc.org> wrote:

> 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.
>
> --Michael
>
> 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 https://lists.isc.org/mailman/listinfo/bind-users to
> unsubscribe from this list
> >
> > bind-users mailing list
> > bind-users at lists.isc.org
> > https://lists.isc.org/mailman/listinfo/bind-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20120531/326dc9e0/attachment.html>


More information about the bind-users mailing list