<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1254">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div>
<div style="font-family: Calibri; text-align: right; color: rgb(0, 0, 0); margin-left: 15pt; font-size: 10pt;">
Company Confidential</div>
<br>
</div>
<div style="font-family: Aptos, Aptos_EmbeddedFont, Aptos_MSFontService, Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);" class="elementToProof">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Maja Vukovic <Maja.Vukovic@cetin.rs><br>
<b>Sent:</b> Monday, November 23, 2026 10:44 AM<br>
<b>To:</b> bind-users@lists.isc.org <bind-users@lists.isc.org><br>
<b>Subject:</b> BIND 9.16 recursive resolver – kernel spinlock contention with 104 UDP listeners</font>
<div> </div>
</div>
<style type="text/css" style="display:none">
<!--
p
{margin-top:0;
margin-bottom:0}
-->
</style>
<div dir="ltr">
<div>
<div style="font-family:Calibri; text-align:right; color:rgb(0,0,0); margin-left:15pt; font-size:10pt">
Company Confidential</div>
<br>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Hi,</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Has anyone seen severe kernel lock contention accompanied by UDP receive drops on a busy BIND 9.16 recursive resolver?</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
We operate a recursive resolver for a mobile network. It runs BIND 9.16.23-RH on RHEL 9.6 with 104 logical CPUs.
<code>rndc status</code> reported 104 worker threads and 104 UDP listeners per interface.</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
During the incident, about 88% of the <code>perf</code> samples collected for <code>
named</code> were in <code>native_queued_spin_lock_slowpath</code>. The call stacks included paths through
<code>futex_wait</code> and <code>futex_wake</code>. Some UDP receive queues filled up, receive drops increased, and the resolver reached its configured
<code>recursive-clients</code> limit of 4,000. Restarting <code>named</code> restored service with the same configuration.</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
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?</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
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?</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
Thanks,<br>
Maja</div>
</div>
<div class="x_elementToProof" style="margin-top:1em; margin-bottom:1em">
<div class="x_elementToProof" style="font-family:Aptos,Aptos_EmbeddedFont,Aptos_MSFontService,Calibri,Helvetica,sans-serif; font-size:12pt; color:rgb(0,0,0)">
<br>
</div>
</div>
</div>
<p align="justify"><span style="font-size:8.0pt; font-family:Tahoma,sans-serif; color:#A6A6A7;font-weight:bold">Odricanje odgovornosti</span><br>
<span style="font-size:8.0pt; font-family:Tahoma,sans-serif; color:#A6A6A7">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.
<br>
<br>
<span style="font-size:8.0pt; font-family:Tahoma,sans-serif; color:#A6A6A7;font-weight:bold">Disclaimer</span><br>
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. </span><br>
<br>
</p>
</body>
</html>