From: Jacob Bunk Nielsen Date: Fri, 14 Jul 2023 12:13:49 +0000 (+0200) Subject: Document queue-limit in performance.rst as promised. X-Git-Tag: rec-5.0.0-alpha1~87^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=72f440f1ebdbee09ef73013576d69cfac0f9288a;p=thirdparty%2Fpdns.git 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. --- 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.