BIND 9.16 recursive resolver – kernel spinlock contention with 104 UDP listeners

Maja Vukovic Maja.Vukovic at cetin.rs
Mon Nov 23 09:46:54 UTC 2026


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 iskljucivo za korišcenje od strane naznacenog primaoca(laca) i mogu sadrzati poverljive i povlašcene informacije. Ukoliko niste naznaceni 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 iskljucivo su stavovi i mišljenja pošiljaoca i ne mora nuzno predstavljati stavove i mišljenja CETIN d.o.o., osim ako pošiljalac nema za to ovlašcenje 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štecenjem 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.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.isc.org/pipermail/bind-users/attachments/20261123/57d73652/attachment-0001.htm>


More information about the bind-users mailing list