]> git.ipfire.org Git - thirdparty/bind9.git/commit
fix: usr: Improve the memory cleaning in the SERVFAIL cache
authorOndřej Surý <ondrej@isc.org>
Wed, 27 Nov 2024 17:04:29 +0000 (17:04 +0000)
committerOndřej Surý <ondrej@isc.org>
Wed, 27 Nov 2024 17:04:29 +0000 (17:04 +0000)
commit5b96cbea01c3cbbf06c85dd1fbe614569a6bb00b
tree337a1f3490a1bf476707a94747fa3cf5bfd45e4c
parentd94e88220c70fd4799a69d253c66ff865474e577
parentb61739836db9d72262e51596ea07ff8571a541f6
fix: usr: Improve the memory cleaning in the SERVFAIL cache

The SERVFAIL cache doesn't have a memory bound and the
cleaning of the old SERVFAIL cache entries was implemented
only in opportunistic manner.  Improve the memory cleaning
of the SERVFAIL cache to be more aggressive, so it doesn't
consume a lot of memory in the case the server encounters
many SERVFAILs at once.

Closes #5025

Merge branch '5025-improve-badcache-cleaning' into 'main'

See merge request isc-projects/bind9!9760