From e399c42a8c7ace243bf99e1386dd6e94f3077813 Mon Sep 17 00:00:00 2001 From: Otto Date: Fri, 17 Dec 2021 10:40:57 +0100 Subject: [PATCH] Mention that keeping idle outgoing connections open uses fds. Also correct default tcp-out-max-idle-per-thread in docs. --- pdns/recursordist/docs/settings.rst | 2 +- pdns/recursordist/docs/upgrade.rst | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/pdns/recursordist/docs/settings.rst b/pdns/recursordist/docs/settings.rst index 61c8d01a08..0bf2c781a4 100644 --- a/pdns/recursordist/docs/settings.rst +++ b/pdns/recursordist/docs/settings.rst @@ -2039,7 +2039,7 @@ closed and a new one will be created if needed. .. versionadded:: 4.6.0 - Integer -- Default : 0 +- Default : 100 Maximum number of idle outgoing TCP/DoT connections per thread, 0 means do not keep idle connections open. diff --git a/pdns/recursordist/docs/upgrade.rst b/pdns/recursordist/docs/upgrade.rst index 15b6ec3048..1acf919fd9 100644 --- a/pdns/recursordist/docs/upgrade.rst +++ b/pdns/recursordist/docs/upgrade.rst @@ -11,6 +11,11 @@ Offensive language ^^^^^^^^^^^^^^^^^^ Using the settings mentioned in :ref:`upgrade-offensive` now generates a warning. Please start using the new names. +File descriptor usage +^^^^^^^^^^^^^^^^^^^^^ +The number of file descriptors used by the Recursor has increased because the Recursor now keeps idle outgoing TCP/DoT connections open for a while. +The extra file descriptors used compared to previous versions of the Recursor is :ref:`setting-tcp-out-max-idle-per-thread` times the number of worker threads (:ref:`threads`). + New settings ^^^^^^^^^^^^ - The :ref:`setting-dot-to-auth-names` setting to list nameservers that should be contacted over DoT has been introduced. -- 2.47.2