bind9/bin
Michał Kępień fec4664ab0 Set "max-cache-size" in the "geoip2" system test
The named configuration files used in the "geoip2" system test cause a
rather large number of views (6-8) to be set up in each tested named
instance.  Each view has its own cache.

Commit aa72c31422 caused the RBT hash
table to be pre-allocated to a size derived from "max-cache-size", so
that it never needs to be rehashed.  The size of that hash table is not
expected to be significant enough to cause memory use issues in typical
conditions even for large "max-cache-size" settings.

However, these two factors combined can cause memory exhaustion issues
in GitLab CI, where we run multiple "instances" of the test suite in
parallel on the same runner, each test suite executes multiple system
tests concurrently, and each system test may potentially start multiple
named instances at the same time.  In practice, this problem currently
only seems to be affecting the "geoip2" system test, which is failing
intermittently due to named instances used by that test getting killed
by oom-killer.

Prevent the "geoip2" system test from failing intermittently by setting
"max-cache-size" in named configuration files used in that test to a low
value in order to keep memory usage at bay even with a large number of
views configured.

(cherry picked from commit 4292d5bdfe)
2020-08-05 11:08:24 +02:00
..
check add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
confgen add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
delv add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
dig Fix miscellaneous little bugs in RST formatting 2020-06-29 19:41:52 +02:00
dnssec Fix formatting of See Also section header 2020-07-01 23:46:39 +02:00
named stale-cache-enable is enabled by default 2020-08-05 09:09:16 +02:00
nsupdate Delay kserver cleanup until all tasks finishes 2020-06-04 11:32:33 +02:00
pkcs11 add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
plugins add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
python add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
rndc Implement dummy 'rndc dnssec -status' command 2020-07-01 09:57:44 +02:00
tests Set "max-cache-size" in the "geoip2" system test 2020-08-05 11:08:24 +02:00
tools add support for building sphinx documentation 2020-06-01 09:54:46 +02:00
win32/BINDInstall Disable MSB8028 warning 2020-04-16 07:56:38 +02:00
Makefile.in name change from "hook modules" to "plugins" 2018-12-06 10:36:50 -08:00