]> git.ipfire.org Git - thirdparty/pdns.git/commitdiff
ddist: improve error with a hint on how to fix it 9950/head
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 12 Jan 2021 08:58:50 +0000 (09:58 +0100)
committerPieter Lexis <pieter.lexis@powerdns.com>
Thu, 28 Jan 2021 09:47:09 +0000 (10:47 +0100)
pdns/dnsdist-tcp.cc

index fb9e33bac0366f13ac992da72edde08a1e03499e..4aad80570508072fb54584c5bd374a61c71b3e40 100644 (file)
@@ -222,7 +222,7 @@ void TCPClientCollection::addTCPClientThread()
     std::lock_guard<std::mutex> 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]);