[Pdns-users] CPU Usage Regression in Recursor 4.9.1?

Otto Moerbeek otto at drijf.net
Sun Sep 3 14:23:32 UTC 2023


On Sun, Sep 03, 2023 at 03:59:08PM +0200, Christoph via Pdns-users wrote:

> Hello,
> 
> thanks for your reply.
> > I would suggest you do the planned revert to 4.9.0 for at least one
> > recursor to see if the problem disappears.
> 
> It appears 4.9.0 is no longer available on the repo?
> https://repo.powerdns.com/debian/pool/main/p/pdns-recursor/

Hmm, I did not realzie that we remove old packages. I can build one
for you if you tell me for which debian version.

> 
> > Please post your recursor.conf and lua config file if used.

Thanks, so nothing really special. I am wondering if the aggressive
cache change causes high CPU usage. One thing you might try is to run
4.9.1 with aggressive-nsec-cache-size=0 (disabled) to see if you are
stil seeing the increasing CPU load, It will produce (a bit) more
upstream queries.

	-Otto


> best regards,
> Christoph
> 
> /etc/powerdns/config.lua
> ------------------------
> zoneToCache(".", "axfr", "193.0.14.129")
> 
> 
> recursor.conf
> ---------------
> config-dir=/etc/powerdns
> setuid=pdns
> setgid=pdns
> 
> aggressive-nsec-cache-size=100000
> allow-from=127.0.0.0/8,109.70.100.0/24
> distributor-threads=1
> dnssec=validate
> dnssec-log-bogus=no
> edns-padding-from=127.0.0.0/8,109.70.100.0/24
> edns-padding-mode=padded-queries-only
> extended-resolution-errors=yes
> local-address=127.0.0.1:54,109.70.100.125:53,109.70.100.136:53
> log-common-errors=no
> log-rpz-changes=no
> log-timestamp=yes
> loglevel=6
> structured-logging=no
> max-busy-dot-probes=5
> max-cache-entries=1000000
> max-concurrent-requests-per-tcp-connection=1000
> max-packetcache-entries=500000
> new-domain-tracking=no
> nothing-below-nxdomain=dnssec
> pdns-distributes-queries=yes
> qname-minimization=yes
> query-local-address=109.70.100.125,2a03:e600:100::178
> quiet=yes
> refresh-on-ttl-perc=10
> threads=8
> version-string=PowerDNS Recursor
> webserver=yes
> webserver-address=127.0.0.1
> webserver-allow-from=127.0.0.1,::1
> webserver-loglevel=normal
> webserver-password=-snip-
> 
> lua-config-file=/etc/powerdns/config.lua
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> https://mailman.powerdns.com/mailman/listinfo/pdns-users


More information about the Pdns-users mailing list