<p></p>
<p>Thanks for the detailed report. Your description sounds reasonable, as the variable is indeed in shared memory and is accessed from different processes. The same problem should also be apply to the ds_get_leastloaded call.</p>
<p>Could you create a pull request with the changes against git master? It can be then applied and also backported to stable versions.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/kamailio/kamailio/issues/2322#issuecomment-626697897">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABO7UZIBHNJM7JEOHWBBYC3RQ73VZANCNFSM4M5V5VYA">unsubscribe</a>.<img src="https://github.com/notifications/beacon/ABO7UZN3VEF6OUNEP7K2PF3RQ73VZA5CNFSM4M5V5VYKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEVNKNKI.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/kamailio/kamailio/issues/2322#issuecomment-626697897",
"url": "https://github.com/kamailio/kamailio/issues/2322#issuecomment-626697897",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>