From: Mukund Sivaraman Date: Wed, 26 Apr 2017 18:13:35 +0000 (+0530) Subject: Set a LMDB mapsize and also provide a config option to control it (#44954) X-Git-Tag: v9.12.0a1~335 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=241b49e6119eb37eebe2de98f0e8bde436074cb3;p=thirdparty%2Fbind9.git Set a LMDB mapsize and also provide a config option to control it (#44954) --- diff --git a/CHANGES b/CHANGES index 7e2a5f8c871..acaf41e29c0 100644 --- a/CHANGES +++ b/CHANGES @@ -1,3 +1,10 @@ +4611. [bug] The default LMDB mapsize was too low and caused + errors after few thousand zones were added using + rndc addzone. A new config option "lmdb-mapsize" + has been introduced to configure the LMDB + mapsize depending on operational needs. + [RT #44954] + 4610. [func] The "new-zones-directory" option specifies the location of NZF or NZD files for storing configuration of zones added by "rndc addzone". diff --git a/bin/named/config.c b/bin/named/config.c index 585528fc84b..cd5488bc74f 100644 --- a/bin/named/config.c +++ b/bin/named/config.c @@ -176,6 +176,7 @@ options {\n\ zero-no-soa-ttl-cache no;\n\ nsec3-test-zone no;\n\ allow-new-zones no;\n\ + lmdb-mapsize 32M;\n\ fetches-per-server 0;\n\ require-server-cookie no;\n\ v6-bias 50;\n\ diff --git a/bin/named/named.conf.docbook b/bin/named/named.conf.docbook index 80481c811bf..3f99c779b6b 100644 --- a/bin/named/named.conf.docbook +++ b/bin/named/named.conf.docbook @@ -1,5 +1,5 @@