From 72f440f1ebdbee09ef73013576d69cfac0f9288a Mon Sep 17 00:00:00 2001 From: Jacob Bunk Nielsen Date: Fri, 14 Jul 2023 14:13:49 +0200 Subject: [PATCH] Document queue-limit in performance.rst as promised. settings.rst tells the reader to also see performance.rst regarding queue-limit but there's nothing there, until now. --- docs/performance.rst | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/performance.rst b/docs/performance.rst index 610b8965f6..8c44ef2466 100644 --- a/docs/performance.rst +++ b/docs/performance.rst @@ -63,6 +63,10 @@ the value of the :ref:`stat-qsize-q` variable. This represents the number of packets waiting for database attention. During normal operations the queue should be small. +The value of :ref:`setting-queue-limit` should be set to only keep queries in +queue for as long as someone would be interested in knowing the answer. Many +resolvers will query other name servers for the zone quite aggressively. + Logging truly kills performance as answering a question from the cache is an order of magnitude less work than logging a line about it. Busy sites will prefer to turn :ref:`setting-log-dns-details` off. -- 2.47.2