]> git.ipfire.org Git - thirdparty/bind9.git/commit
cache memory adjustements
authorColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 12:49:28 +0000 (14:49 +0200)
committerColin Vidal <colin@isc.org>
Mon, 30 Mar 2026 18:41:13 +0000 (20:41 +0200)
commitc64ac308ebfad718796b490eee49777509eab96a
treee76308226b67fe3bb504cd0a454324434f1d068e
parentb5c0b32b6987370b8c14dc41a67912c3c5c29ad9
cache memory adjustements

The delegation DB now uses the same amount of memory than ADB, which is
1/8 of the `max-cache-size`.

The main cache database, instead of using `max-cache-size`, now use the
"remaining" part of it, after the delegation DB and ADB took their part,
so 6/8.

This avoid blowing up the host memory, typically when specifying
`max-cache-size 95%`, as the global cache usage would go way ahead 100%.
bin/named/server.c