]> git.ipfire.org Git - thirdparty/bind9.git/commitdiff
Add CHANGES and release notes for [GL #2398]
authorOndřej Surý <ondrej@sury.org>
Tue, 14 Dec 2021 10:49:38 +0000 (11:49 +0100)
committerOndřej Surý <ondrej@sury.org>
Wed, 15 Dec 2021 20:23:25 +0000 (21:23 +0100)
CHANGES
doc/notes/notes-current.rst

diff --git a/CHANGES b/CHANGES
index fed2b708120484f748e022295854eafdc3ff26a7..6b346be4ac0c65d5ac4f86d43e92dc830bb57153 100644 (file)
--- a/CHANGES
+++ b/CHANGES
                        construct the nsupdate command.  The sed expression
                        was not reliably changing the ttl. [GL #3003]
 
+5676.  [func]          Memory use in named was excessive. This has been
+                       addressed by:
+                       - Replacing locked memory pools with normal memory
+                         allocations.
+                       - Reducing the number of retained free items in
+                         unlocked memory pools.
+                       - Disabling the internal allocator by default.
+                         "named -M internal" turns it back on.
+                       [GL #2398]
+
        --- 9.16.23 released ---
 
 5752.  [bug]           Fix an assertion failure caused by missing member zones
index 5379c877747c3fdc311302a589034e96252250d1..f10ce15ab590e2a87d9212d3b31a9cd8614ca49b 100644 (file)
@@ -34,8 +34,6 @@ Removed Features
 Feature Changes
 ~~~~~~~~~~~~~~~
 
-- None.
-
 - Previously, when an incoming TCP connection could not be accepted because the client
   closed the connection early, an error message of ``TCP connection
   failed: socket is not connected`` was logged. This message has been changed
@@ -45,6 +43,10 @@ Feature Changes
   events: ``socket is not connected``, ``quota reached``, and ``soft
   quota reached``. :gl:`#2700`
 
+- The default memory allocator has been switched from ``internal`` to
+  ``external`` and new command line option ``-M internal`` has been added to
+  ``named``. :gl:`#2398`
+
 Bug Fixes
 ~~~~~~~~~
 
@@ -55,3 +57,5 @@ Bug Fixes
 
 - On FreeBSD, a TCP connection would leak a small amount of heap memory leading
   to out-of-memory problem in a long run. This has been fixed. :gl:`#3051`
+
+- Overall memory use by ``named`` was optimized and reduced.  :gl:`#2398`