From: Otto Date: Fri, 17 Dec 2021 09:40:57 +0000 (+0100) Subject: Mention that keeping idle outgoing connections open uses fds. X-Git-Tag: auth-4.7.0-alpha1~114^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F11099%2Fhead;p=thirdparty%2Fpdns.git Mention that keeping idle outgoing connections open uses fds. Also correct default tcp-out-max-idle-per-thread in docs. --- 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.