[Pdns-users] Recursor Cache Sizing: Is more always better?

Otto Moerbeek otto at drijf.net
Sun Sep 10 12:43:24 UTC 2023


On Sun, Sep 10, 2023 at 02:37:49PM +0200, Christoph via Pdns-users wrote:

> > Another word of advice: see
> > 
> > https://docs.powerdns.com/recursor/performance.html#threading-and-distribution-of-queries
> > 
> > in particular the "imbalance" section.
> 
> Thanks for the pointer, changing this had a significant positive impact.
> 
> This feels like an important metric to monitor.
> I was not able to find the per thread query counter in the rec prometheus
> metrics. Is there one?
> Using pdns_recursor_cpu_msec as a workaround for now.

The queries per thread is missing from all stats except the periodic
stats in the log. It's on my list of things to do: adding it to the
general stats mechanism, making it visible using rec_control get-all,
carbon, Prometheus and SNMP.

	-Otto


More information about the Pdns-users mailing list