[OpenSIPS-Users] usrloc replication error: differring rlabels (0 vs. 1, ci: 'b7b3f2f3-38f32b64 at 192.168.10.87')
Liviu Chircu
liviu at opensips.org
Wed Nov 27 09:39:36 UTC 2024
Hi Michael,
I've been working on this problem recently and there is a patch
<https://github.com/OpenSIPS/opensips/commit/90a00795b1d0685394818c4a69c235f487389878>
which has already received some amount of testing to be deemed stable,
hence I just decided to push it to master branch.
If you could pull it into your setup (both boxes) and confirm there are
no side-effects, that would help make the backport to 3.5 and 3.4 a lot
safer!
Best regards,
On 26.11.2024 17:59, Michael Ulitskiy wrote:
>
> Hello,
>
> I've recently migrated my system to 2-node usrloc full-sharing
> cluster. Now occasionally I receive the following error on the
> receiving side:
>
> CRITICAL:usrloc:receive_ucontact_insert:
>
> differring rlabels (0 vs. 1, ci:
> 'b7b3f2f3-38f32b64 at 192.168.10.87')
> It seems you have hit a programming bug.
>
> Numbers in the error can be different (8 vs. 9,268 vs. 270).
>
> Config is standard:
>
>
> Clusterer Module
>
> loadmodule "clusterer.so"
> modparam("clusterer", "my_node_id", 2)
> modparam("clusterer", "db_mode", 0)
> modparam("clusterer", "sharing_tag", "vip1/1=backup")
> modparam("clusterer", "seed_fallback_interval", 10)
> modparam("clusterer", "my_node_info", "cluster_id=1,
> url=bin:x.x.83.70:5555, flags=seed")
> modparam("clusterer", "neighbor_node_info",
> "cluster_id=1,node_id=1,url=bin:x.x.83.69:5555")
>
>
> USeR LOCation module
>
> loadmodule "usrloc.so"
> modparam("usrloc", "nat_bflag", "NAT_BFLAG") #NAT bflag saved in
> usrloc, used to indicate nat
> modparam("usrloc", "desc_time_order", 1) #location records are kept
> timestamp ordered. most recent 1st
> modparam("usrloc", "cseq_delay", 10)
> modparam("usrloc", "hash_size", 14) #2
> <https://github.com/OpenSIPS/opensips/issues/2>^14 - 16356 hash entries
> modparam("usrloc", "location_cluster", 1)
> modparam("usrloc", "cluster_mode","full-sharing")
> modparam("usrloc", "working_mode_preset", "full-sharing-cluster")
>
> Opensips version:
> root at csp-p1n2:~# /usr/local/opensips3/sbin/opensips -V
> version: opensips 3.4.9 (x86_64/linux)
> flags: STATS: On, DISABLE_NAGLE, USE_MCAST, SHM_MMAP, PKG_MALLOC,
> Q_MALLOC, F_MALLOC, HP_MALLOC, DBG_MALLOC, FAST_LOCK-ADAPTIVE_WAIT
> ADAPTIVE_WAIT_LOOPS=1024, MAX_RECV_BUFFER_SIZE 262144, MAX_LISTEN 16,
> MAX_URI_SIZE 1024, BUF_SIZE 65535
> poll method support: poll, epoll, sigio_rt, select.
> git revision: cd02af8
> <https://github.com/OpenSIPS/opensips/commit/cd02af8d942374398f95ceb5d0a3fd3b63acf346>
> main.c compiled on 13:57:28 Nov 18 2024 with gcc 5.5.0
>
> Please let me know if you need any other info.
> Thanks,-
>
> *Michael Ulitskiy*
> Ace Innovative Networks, Inc.
> https://www.aceinnovative.com
>
> _______________________________________________
> Users mailing list
> Users at lists.opensips.org
> http://lists.opensips.org/cgi-bin/mailman/listinfo/users
--
Liviu Chircu
www.opensips-solutions.com |www.siphub.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20241127/327da107/attachment.html>
More information about the Users
mailing list