From 06e4b948411abb29d7d48ecfae8ab0bb6008cfb0 Mon Sep 17 00:00:00 2001 From: Pieter Lexis Date: Tue, 12 Jan 2021 09:58:50 +0100 Subject: [PATCH] ddist: improve error with a hint on how to fix it --- pdns/dnsdist-tcp.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pdns/dnsdist-tcp.cc b/pdns/dnsdist-tcp.cc index fb9e33bac0..4aad805705 100644 --- a/pdns/dnsdist-tcp.cc +++ b/pdns/dnsdist-tcp.cc @@ -222,7 +222,7 @@ void TCPClientCollection::addTCPClientThread() std::lock_guard lock(d_mutex); if (d_numthreads >= d_tcpclientthreads.size()) { - vinfolog("Adding a new TCP client thread would exceed the vector size (%d/%d), skipping", d_numthreads.load(), d_tcpclientthreads.size()); + vinfolog("Adding a new TCP client thread would exceed the vector size (%d/%d), skipping. Consider increasing the maximum amount of TCP client threads with setMaxTCPClientThreads() in the configuration.", d_numthreads.load(), d_tcpclientthreads.size()); if (!d_useSinglePipe) { close(pipefds[0]); close(pipefds[1]); -- 2.47.2