[dnsdist] increase in drops or changed semantics?
remi.gacogne at powerdns.com
Tue Oct 8 09:20:00 UTC 2019
On 10/7/19 10:47 PM, Christoph wrote:
> The output of topSlow() including the 'Rest' line covers only about 1%
> of the count shown in the 'Drops' counter so it is not related or is
> topSlow() only about recent-ish slow queries?
Yes, both topSlow() and grepq() are based on the queries and responses
present in the in-memory ring buffer, and we only keep up to N of them.
You can tune N by using the setRingBuffersSize()  directive, the
default being 10k. The drawbacks of doing so are a small increase in
memory usage and if you set it to a very large value that scanning the
ring buffer, for example to compute dynamic block rules, takes a bit longer.
> (there is no column description in the output, I assume the 3rd column
> is number of requests?)
PowerDNS.COM BV - https://www.powerdns.com/
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 488 bytes
Desc: OpenPGP digital signature
More information about the dnsdist