Re: BIND 9.16 recursive resolver – kernel spinlock contention with 104 UDP listeners
Ondřej Surý
ondrej at isc.org
Mon Nov 23 09:58:34 UTC 2026
Hi Maja,
BIND 9.16 has reach end-of-life in April 2024, you are encouraged to upgrade to a supported release, currently, BIND 9.20.
And yes, we made many improvements in the scalability of BIND 9 between then and now.
ISC provides packages for supported RHEL releases: https://www.isc.org/download/ (top of the page) and also provides
professional support in case it would help (https://www.isc.org/support/) (happy to talk to Michael Macek from Czech CETIN
if that helps).
As a side note BIND 9.16.23-RH version is neither supported nor endorsed by ISC as it is not an official release, but rather
a patchwork of a 9.16.23 release with many fixes on top of that. If you require support for this release, you need to contact
your vendor that supports your RHEL system.
Cheers,
Ondrej
--
Ondřej Surý (He/Him)
ondrej at isc.org
ADHD brain at work: I sometimes lose track of my inbox. Please feel free to send a gentle nudge if you're waiting on a reply!
My working hours and your working hours may be different. Please do not feel obligated to reply outside your normal working hours.
> On 23. 11. 2026, at 10:46, Maja Vukovic via bind-users <bind-users at lists.isc.org> wrote:
>
> Company Confidential
>
>
> From: Maja Vukovic <Maja.Vukovic at cetin.rs>
> Sent: Monday, November 23, 2026 10:44 AM
> To: bind-users at lists.isc.org <bind-users at lists.isc.org>
> Subject: BIND 9.16 recursive resolver – kernel spinlock contention with 104 UDP listeners
> Company Confidential
>
> Hi,
>
> Has anyone seen severe kernel lock contention accompanied by UDP receive drops on a busy BIND 9.16 recursive resolver?
> We operate a recursive resolver for a mobile network. It runs BIND 9.16.23-RH on RHEL 9.6 with 104 logical CPUs. rndc status reported 104 worker threads and 104 UDP listeners per interface.
> During the incident, about 88% of the perf samples collected for named were in native_queued_spin_lock_slowpath. The call stacks included paths through futex_wait and futex_wake. Some UDP receive queues filled up, receive drops increased, and the resolver reached its configured recursive-clients limit of 4,000. Restarting named restored service with the same configuration.
>
> I found ISC’s earlier guidance on listener overhead on systems with many CPUs. How does that guidance apply to the BIND 9.16 networking model, and what worker and listener settings would you start testing on a 104-logical-CPU recursive resolver?
> Could the worker and listener counts have contributed to the lock contention and UDP receive drops we observed? For a busy production resolver on a host with 104 logical CPUs, what worker and listener counts would you start testing, if both can be tuned independently in this version? Which startup options would you use, and which workload characteristics and metrics would you use to choose production settings?
>
> Thanks,
> Maja
>
> Odricanje odgovornosti
> Ova imejl poruka i svi njeni prilozi namenjeni su isključivo za korišćenje od strane naznačenog primaoca(laca) i mogu sadržati poverljive i povlašćene informacije. Ukoliko niste naznačeni primalac, nemojte širiti, distribuirati niti kopirati ovu imejl poruku. Molimo vas da pošiljaoca odmah obavestite imejlom ukoliko ste greškom primili ovu poruku i da je obrišete iz sistema. Sve izneto isključivo su stavovi i mišljenja pošiljaoca i ne mora nužno predstavljati stavove i mišljenja CETIN d.o.o., osim ako pošiljalac nema za to ovlašćenje CETIN d.o.o. Strogo je zabranjena bilo kakva reprodukcija, širenje, kopiranje, otkrivanje, izmena, distribucija i/ili objavljivanje ove imejl poruke i njenih priloga. CETIN d.o.o. ne prihvata odgovornost za bilo kakvu štetu prouzrokovanu bilo kojim malicioznim kodom i/ili oštećenjem prenetim ovim imejlom.
>
> Disclaimer
> This e-mail and any attachment(s) transmitted with it are intended solely for the use of the intended recipient(s) and may contain confidential and privileged information. If you are not the named addressee, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately by e-mail if you have received this e-mail by mistake and delete it from your system. Any views or opinions expressed are solely those of the sender and do not necessarily represent those of CETIN Serbia unless sender does so with due authority from CETIN Serbia. Any form of reproduction, dissemination, copying, disclosure, modification, distribution and/or publication of this e-mail and attachments is strictly prohibited. CETIN Serbia accepts no liability for any damage caused by any malware and/or defects transmitted by this e-mail.
>
> --
> Visit https://lists.isc.org/mailman/listinfo/bind-users to unsubscribe from this list.
More information about the bind-users
mailing list