From 42b3f95f8db3e05e223a9aca91808d43b32a7e9e Mon Sep 17 00:00:00 2001 From: Remi Gacogne Date: Thu, 22 Sep 2022 11:46:55 +0200 Subject: [PATCH] dnsdist: Document that the TCP acceptor and worker threads are merged in single acceptor mode --- pdns/dnsdistdist/docs/install.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdistdist/docs/install.rst b/pdns/dnsdistdist/docs/install.rst index 258aabf81b..9142449322 100644 --- a/pdns/dnsdistdist/docs/install.rst +++ b/pdns/dnsdistdist/docs/install.rst @@ -148,5 +148,5 @@ Additionally several Lua bindings can be removed when they are not needed, as th * ``DISABLE_SUFFIX_MATCH_BINDINGS`` * ``DISABLE_TOP_N_BINDINGS`` -Finally a build flag can be used to make use a single thread to handle all incoming UDP queries from clients, and another single thread to accept new TCP connections from clients, no matter how many :func:`addLocal` directives are present in the configuration. This option is destined to resource-constrained environments where dnsdist needs to listen on several addresses, over several interfaces, and one thread is enough to handle the traffic and therefore the overhead of using multiples threads for that task does not make sense. +Finally a build flag can be used to make use a single thread to handle all incoming UDP queries from clients, no matter how many :func:`addLocal` directives are present in the configuration. It also moves the task of accepting incoming TCP connections to the TCP workers themselves, removing the TCP acceptor threads. This option is destined to resource-constrained environments where dnsdist needs to listen on several addresses, over several interfaces, and one thread is enough to handle the traffic and therefore the overhead of using multiples threads for that task does not make sense. This option can be enabled by setting ``USE_SINGLE_ACCEPTOR_THREAD``. -- 2.47.2