Hello,

 

It might be something during the restart, that some of the processes did not started correctly due to still allocated resources from the “old” processes still running. Maybe a race condition in this particular system environment, but hard to say if you cannot reproduce it.

 

Cheers,

 

Henning

 

--

Henning Westerholt – https://skalatan.de/blog/

Kamailio services – https://gilawa.com

 

From: sr-users <sr-users-bounces@lists.kamailio.org> On Behalf Of José Seabra
Sent: Friday, October 16, 2020 4:02 PM
To: Kamailio (SER) - Users Mailing List <sr-users@lists.kamailio.org>
Subject: Re: [SR-Users] usrloc_dmq - Suddenly stopped usrloc replication

 

no, I'm pretty sure that didn't happen, I don't have any other config files there.

 

Regards

 

Ovidiu Sas <osas@voipembedded.com> escreveu no dia sexta, 16/10/2020 à(s) 13:47:

Maybe you restarted with a different config file?

 

-ovidiu

 

On Fri, Oct 16, 2020 at 04:54 José Seabra <joseseabra4@gmail.com> wrote:

Hi Ovidiu,

 

I compared both logs and when kamailio didn't started all processes, there is missing the log msg from usrloc_dmq:

INFO: dmq_usrloc [dmq_usrloc.c:77]: mod_init(): dmq usrloc replication mode = 1

 

But I still have doubts why it happened, do you guys know any possible reason that could make this happening?

 

Thank you

 

Best regards

José

 

Ovidiu Sas <osas@voipembedded.com> escreveu no dia quinta, 15/10/2020 à(s) 23:18:

Compare the logs for the two cases. Also, check if there are any error
logs for the case with missing processes.

Regards,
Ovidiu Sas

On Thu, Oct 15, 2020 at 5:51 PM José Seabra <joseseabra4@gmail.com> wrote:
>
> Hi there,
> so, I guess that I found the reason why it's not working, I noticed that it stopped working at the same time that kamailio restarted, then I went check the number of processes and workers and I realised that we were missing a few processes and workers, restarted kamailio and it started working again, all processes and workers were created.
> Anyway I still don't know why the restart didn't start all the processes.
>
> Regards
>
> José Seabra <joseseabra4@gmail.com> escreveu no dia quinta, 15/10/2020 à(s) 22:12:
>>
>> Hello there,
>> I forgot to mention that I'm running kamailio 5.3.4
>>
>> Best Regards
>>
>> José Seabra <joseseabra4@gmail.com> escreveu no dia quinta, 15/10/2020 à(s) 22:11:
>>>
>>> Hello there,
>>>
>>> Suddenly the usrloc replication through DMQ stopped, but the interesting thing is that DMQ cluster status is OK, htable replication still working only usrloc_dmq stopped working.
>>>
>>> I increased the kamailio loglevel to 3 in order to see if there was some log related and then registered a peer, but the only DMQ logs that I see are related with notification_peer and htable replication, nothing related with usrloc_dmq.
>>>
>>> What I can do more here to try to understand what went wrong?
>>>
>>> I haven't restarted the cluster yet, because I would like to try to understand the root cause of this issue.
>>>
>>> Any advice would be appreciated
>>>
>>> Thank you
>>>
>>> --
>>> Cumprimentos
>>> José Seabra
>>
>>
>>
>> --
>> Cumprimentos
>> José Seabra
>
>
>
> --
> Cumprimentos
> José Seabra
> _______________________________________________
> Kamailio (SER) - Users Mailing List
> sr-users@lists.kamailio.org
> https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users



--
VoIP Embedded, Inc.
http://www.voipembedded.com

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


 

--

Cumprimentos

José Seabra

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users

--

VoIP Embedded, Inc.
http://www.voipembedded.com

_______________________________________________
Kamailio (SER) - Users Mailing List
sr-users@lists.kamailio.org
https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users


 

--

Cumprimentos

José Seabra