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: '[email protected] <mailto:[email protected]>') INFO:usrloc:receive_ucontact_update: failed to fetch local urecord - create new record and contact (ci: '[email protected] <mailto:[email protected]>') INFO:usrloc:receive_ucontact_update: failed to fetch local urecord - create new record and contact (ci: '[email protected] <mailto:[email protected]>')

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

_______________________________________________
Users mailing list
[email protected]
http://lists.opensips.org/cgi-bin/mailman/listinfo/users

Reply via email to