[OpenSIPS-Users] Usrloc Cluster

Liviu Chircu liviu at opensips.org
Wed Feb 19 14:29:46 EST 2020


Hi, Callum!

On 18.02.2020 15:56, Callum Guy wrote:
>
> INFO:usrloc:receive_ucontact_insert: failed to fetch local urecord - 
> creating new one (ci: '0_751733367 at 10.0.0.13 
> <mailto:0_751733367 at 10.0.0.13>')
> INFO:usrloc:receive_ucontact_update: failed to fetch local urecord - 
> create new record and contact (ci: '0_3576574827 at 10.0.0.26 
> <mailto:0_3576574827 at 10.0.0.26>')
> INFO:usrloc:receive_ucontact_update: failed to fetch local urecord - 
> create new record and contact (ci: '0_4169036315 at 10.0.0.12 
> <mailto:0_4169036315 at 10.0.0.12>')
>
> Is this a simple matter of sessions timing out on the backup and being 
> removed before the next registration on the primary instance?
Exactly.  The UA re-REGISTERs too close to the expiration point, 
creating a racecondition
between the two nodes.  By the time the backup processes the 
contactrefresh packet, its
contact is long gone, so it has nothing to match it against. Hence this 
harmless INFO message.
>
> Secondly I am graphing registration counts based on the following CLI 
> request:
>
> opensips-cli -x mi ul_dump brief=1 | grep AOR | wc -l
>
> Several times a day I see a small drop in the backup registrations 
> (lighter red line) before a resync operation as shown here:
>
>
> Can anyone help to explain what's going on here? There aren't any log 
> messages at this time however I do see the backup node reporting a 
> primary node ping loss ~1 hour before the dip:
>
> 2020-02-18T11:38:37.786021+00:00 opensips[91789]: 
> INFO:clusterer:do_action_trans_2: Ping reply not received, node [13] 
> is down
> 2020-02-18T11:38:38.795838+00:00 opensips[91804]: 
> INFO:clusterer:handle_internal_msg: Node [13] is UP
This is 100% identical to what Alexey reported in #1976 [1].  Please try 
to incorporate at least one of
my proposed solutions -- this should make it much more harder for the 
link between the nodes to do down.

Best regards,

[1]: https://github.com/OpenSIPS/opensips/issues/1976

-- 
Liviu Chircu
www.twitter.com/liviuchircu | www.opensips-solutions.com

OpenSIPS Summit, Amsterdam, May 2020
   www.opensips.org/events
OpenSIPS Bootcamp, Miami, March 2020
   www.opensips.org/training

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opensips.org/pipermail/users/attachments/20200219/96fa7088/attachment.html>


More information about the Users mailing list