From: Pieter Lexis Date: Tue, 12 Jan 2021 08:58:50 +0000 (+0100) Subject: ddist: improve error with a hint on how to fix it X-Git-Tag: dnsdist-1.6.0-alpha1~5^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=refs%2Fpull%2F9950%2Fhead;p=thirdparty%2Fpdns.git ddist: improve error with a hint on how to fix it --- 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]);