]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
Mention that keeping idle outgoing connections open uses fds. 11099/head
authorOtto <otto.moerbeek@open-xchange.com>
Fri, 17 Dec 2021 09:40:57 +0000 (10:40 +0100)
committerOtto <otto.moerbeek@open-xchange.com>
Fri, 17 Dec 2021 10:01:05 +0000 (11:01 +0100)
Also correct default tcp-out-max-idle-per-thread in docs.

pdns/recursordist/docs/settings.rst
pdns/recursordist/docs/upgrade.rst

index 61c8d01a08599c5049fdc281b25d283b833b79e2..0bf2c781a4c28f654af82e92dcd7589f9c80d0b9 100644 (file)
@@ -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.
 
index 15b6ec304851da88da826902b8492dd71501db3c..1acf919fd9148e87b457eb10f76f4a7a5e9a4447 100644 (file)
@@ -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.