<html xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Aptos;
panose-1:2 11 0 4 2 2 2 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
font-size:10.0pt;
font-family:"Aptos",sans-serif;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
span.EmailStyle19
{mso-style-type:personal-reply;
font-family:"Aptos",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;
mso-ligatures:none;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style>
</head>
<body lang="EN-US" link="blue" vlink="purple" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:12.0pt">Thanks for the clarification, Ben, that makes sense.<br>
<br>
Kinda related to the topic, I’m seeing that pretty much all failed lease updates happens because of ‘ResourceBusy’, I couldn’t find which resource it could be.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">Is there any additional log I can enable that could give me a better understanding of what is blocking the updates?<br>
<br>
I’m on version 2.6.2, hosts were provisioned generously, and load is minimal. <br>
<br>
here are some relevant bits from my config:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">"multi-threading": {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "enable-multi-threading": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "thread-pool-size": 4,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "packet-queue-size": 28<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">}<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">"high-availability": [<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "this-server-name": "dc1.kea01",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "trust-anchor": "root.pem",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "cert-file": "kea.pem",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "key-file": "kea.pem",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "cert-required": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "mode": "load-balancing",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "heartbeat-delay": 2000,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "max-response-delay": 4000,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "max-ack-delay": 1000,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "max-unacked-clients": 5,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "delayed-updates-limit": 100,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "max-rejected-lease-updates": 30,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "peers": [<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "name": "dc1.kea01",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "url": <a href="http://[2001:0DB8:1::1]:8004/">
http://[2001:0DB8:1::1]:8004/</a>,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "role": "primary",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "auto-failover": true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> },<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "name": "dc2.kea01",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "url": <a href="http://[2001:0DB8:2::1]:8004/">
http://[2001:0DB8:2::1]:8004/</a>,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "role": "secondary",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "auto-failover": true<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> },<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "name": "dc1.kea02",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "url": "[2001:0DB8:1::2]:8004/",<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "role": "backup"<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> ],<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "multi-threading": {<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "enable-multi-threading": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "http-dedicated-listener": true,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "http-listener-threads": 0,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> "http-client-threads": 0<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"> }<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt">]<br>
<br>
Thanks, <br>
– Diogo<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:12.0pt"><o:p> </o:p></span></p>
<div id="mail-editor-reference-message-container">
<div>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-bottom:12.0pt"><b><span style="font-size:12.0pt;color:black">From:
</span></b><span style="font-size:12.0pt;color:black">Kea-users <kea-users-bounces@lists.isc.org> on behalf of Ben Scott <bscott@isc.org><br>
<b>Date: </b>Wednesday, May 28, 2025 at 10:15</span><span style="font-size:12.0pt;font-family:"Arial",sans-serif;color:black"> </span><span style="font-size:12.0pt;color:black">AM<br>
<b>To: </b>Kea user's list <kea-users@lists.isc.org><br>
<b>Subject: </b>Re: [Kea-users] Is max-rejected-lease-updates a commutative or rate limit?<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt"><br>
<br>
"Diogo André de Assumpção" <daa@meta.com> wrote:<br>
> in the HA config, is the ` max-rejected-lease-updates` value cumulative (i.e..<br>
> 10 over the lifetime of the process) or based on a rate limit (i.e.. 10 in the<br>
> last 60 seconds)?<br>
<br>
To my understanding: Neither. The counter resets with the first accepted lease update. After X rejected updates, Kea enters the HA_TERMINATED stated. If things start working again before then, all is forgiven.<br>
<br>
-- Ben<br>
<br>
-- <br>
Any opinions expressed in this message are those of the author alone.<br>
All information is provided without warranty of any kind.<br>
-- <br>
ISC funds the development of this software with paid support subscriptions. Contact us at
<a href="https://urldefense.com/v3/__https:/www.isc.org/contact/__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOBcprjvA$">
https://urldefense.com/v3/__https://www.isc.org/contact/__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOBcprjvA$</a> for more information.<br>
<br>
To unsubscribe visit <a href="https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOqlTbexQ$">
https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOqlTbexQ$</a> .<br>
<br>
Kea-users mailing list<br>
Kea-users@lists.isc.org<br>
<a href="https://urldefense.com/v3/__https:/lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOqlTbexQ$">https://urldefense.com/v3/__https://lists.isc.org/mailman/listinfo/kea-users__;!!Bt8RZUm9aw!_2hR4Jh2jTOqi2FmJ3u0C-D4xncDSXA32JiNBwcoYRTqooLjG1gX4hpZFELIlYOqlTbexQ$</a>
<o:p></o:p></span></p>
</div>
</div>
</div>
</div>
</div>
</body>
</html>