<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
</head>
<body>
<p dir="auto">Hello,</p>
<p dir="auto">I've recently migrated my system to 2-node usrloc
full-sharing cluster. Now occasionally I receive the following
error on the receiving side:</p>
<p dir="auto">CRITICAL:usrloc:receive_ucontact_insert:</p>
<blockquote>
<blockquote>
<blockquote>
<p dir="auto">differring rlabels (0 vs. 1, ci:
'<a class="moz-txt-link-abbreviated" href="mailto:b7b3f2f3-38f32b64@192.168.10.87">b7b3f2f3-38f32b64@192.168.10.87</a>')<br>
It seems you have hit a programming bug.</p>
</blockquote>
</blockquote>
</blockquote>
<p dir="auto">Numbers in the error can be different (<span
style="color:#000000;background-color:#ffffff;">8 vs. 9,</span><span
style="color:#000000;background-color:#ffffff;">268 vs. 270). </span><span
style="font-family:monospace"><br>
</span><br>
Config is standard:</p>
<h4 dir="auto">Clusterer Module</h4>
<p dir="auto">loadmodule "clusterer.so"<br>
modparam("clusterer", "my_node_id", 2)<br>
modparam("clusterer", "db_mode", 0)<br>
modparam("clusterer", "sharing_tag", "vip1/1=backup")<br>
modparam("clusterer", "seed_fallback_interval", 10)<br>
modparam("clusterer", "my_node_info", "cluster_id=1,
url=bin:x.x.83.70:5555, flags=seed")<br>
modparam("clusterer", "neighbor_node_info",
"cluster_id=1,node_id=1,url=bin:x.x.83.69:5555")</p>
<h1 dir="auto"></h1>
<h4 dir="auto">USeR LOCation module</h4>
<p dir="auto">loadmodule "usrloc.so"<br>
modparam("usrloc", "nat_bflag", "NAT_BFLAG") #NAT bflag saved in
usrloc, used to indicate nat<br>
modparam("usrloc", "desc_time_order", 1) #location records are
kept timestamp ordered. most recent 1st<br>
modparam("usrloc", "cseq_delay", 10)<br>
modparam("usrloc", "hash_size", 14) <a
class="issue-link js-issue-link"
data-error-text="Failed to load title" data-id="15125423"
data-permission-text="Title is private"
data-url="https://github.com/OpenSIPS/opensips/issues/2"
data-hovercard-type="issue"
data-hovercard-url="/OpenSIPS/opensips/issues/2/hovercard"
href="https://github.com/OpenSIPS/opensips/issues/2">#2</a>^14 -
16356 hash entries<br>
modparam("usrloc", "location_cluster", 1)<br>
modparam("usrloc", "cluster_mode","full-sharing")<br>
modparam("usrloc", "working_mode_preset", "full-sharing-cluster")</p>
<p dir="auto">Opensips version:<br>
root@csp-p1n2:~# /usr/local/opensips3/sbin/opensips -V<br>
version: opensips 3.4.9 (x86_64/linux)<br>
flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT<br>
ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN
16, MAX_URI_SIZE 1024, BUF_SIZE 65535<br>
poll method support: poll, epoll, sigio_rt, select.<br>
git revision: <a class="commit-link" data-hovercard-type="commit"
data-hovercard-url="https://github.com/OpenSIPS/opensips/commit/cd02af8d942374398f95ceb5d0a3fd3b63acf346/hovercard"
href="https://github.com/OpenSIPS/opensips/commit/cd02af8d942374398f95ceb5d0a3fd3b63acf346"><tt>cd02af8</tt></a><br>
main.c compiled on 13:57:28 Nov 18 2024 with gcc 5.5.0</p>
<p dir="auto">Please let me know if you need any other info.<br>
Thanks,- <br>
</p>
<div class="moz-signature"><span style="font-size:10pt"><b>Michael
Ulitskiy</b><br>
Ace Innovative Networks, Inc.<br>
<a href="https://www.aceinnovative.com"
class="moz-txt-link-freetext">https://www.aceinnovative.com</a><br>
</span></div>
</body>
</html>