PowerDNS Recursor 5.0.6 Released

Jun 5, 2024

Today we have released PowerDNS Recursor 5.0.6.

This release is a maintenance release. The most important change is that the Recursor will warn if the Linux parameter vm.max_map_count is set too low to accommodate the maximum number of memory mappings used and reduce the maximum number of concurrent requests so that the Recursor will not hit the limit.

Each concurrent request uses an mthread. Starting with version 4.9 the way the mthread stacks are allocated has been changed to use the mmap system call. This allows for better memory protection, but uses a resource that is limited by the Linux kernel by the sysctl vm.max_map_count  parameter. If this parameter is set too low, it can happen that the Recursor hits this limit and will not be able to allocate stacks for mthreads, resulting in degraded performance. This release warns for vm.max_map_count being too low and adjust the max-mthreads setting to avoid running out of mthreads.

Starting with version 4.9, it is advised to set sysctl vm.max_map_count to make sure that the Recursor can allocate enough stacks under load; suggested value is at least 4*(threads+2)*max-mthreads. Some Linux distributions use the value of about one million, which should be enough for most configurations. Other distributions default to 64k, which can be too low.

There are also a few other bug fixes and improvements, please refer to the changelogs  (5.0.6) for additional details.

Please send us all feedback and issues you might have via the mailing list, or in case of a bug, via GitHub.

The tarball (5.0.6) (with signature files 5.0.6) are available from our download server and packages for several distributions are available from our repository.

Recently we made changes to our Open Source End of Life policy. Older release trains are now supported for one year after the following major release. Consult the EOL policy for more details.

We would also like to mention that with the 4.5 release we stopped supporting systems using 32-bit time. This includes many 32-bit Linux platforms.

We are grateful to the PowerDNS community for the reporting of bugs, issues, feature requests, and especially to the submitters of fixes and implementations of features.

 

About the author

Otto Moerbeek

Otto Moerbeek

Senior Developer at PowerDNS

Related Articles

PowerDNS Recursor 5.1.0-rc1 Released

We are proud to announce the first release candidate of PowerDNS Recursor 5.1.0!

Otto Moerbeek Jun 25, 2024

PowerDNS DNSdist 1.9.5 released

We released PowerDNS DNSdist 1.9.5 today, fixing minor bugs:

Remi Gacogne Jun 20, 2024

PowerDNS Recursor 5.1.0-beta1 Released

We are proud to announce the first beta release of PowerDNS Recursor 5.1.0!

Otto Moerbeek Jun 6, 2024

PowerDNS Recursor 5.0.6 Released

Today we have released PowerDNS Recursor 5.0.6. This release is a maintenance release. The most important change is that the...

Otto Moerbeek Jun 5, 2024