<div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Hello Henning, </div><div class="gmail_default" style="font-family:tahoma,sans-serif">Correctly understood, this is exactly what I've experienced (kamailio 5.2.0)</div><div class="gmail_default" style="font-family:tahoma,sans-serif">I'll absolutely make a new lab-test and strace !</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif">Thanks for your suggestion!</div><div class="gmail_default" style="font-family:tahoma,sans-serif">Best regards</div><div class="gmail_default" style="font-family:tahoma,sans-serif"><br></div><div class="gmail_default" style="font-family:tahoma,sans-serif"></div><br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">Il giorno sab 26 gen 2019 alle ore 19:05 Henning Westerholt <<a href="mailto:hw@kamailio.org">hw@kamailio.org</a>> ha scritto:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Am Samstag, 26. Januar 2019, 19:00:32 CET schrieb * Paolo Visintin - <br>
> I'm using DMQ in order to share :<br>
> - htable<br>
> - usrloc<br>
> <br>
> for usrloc seems everything working as expected.<br>
> <br>
> on htable I have noticed, after some stresstest made with sipp (25 cps /<br>
> 600 concurrent calls) that one of the nodes (or sometimes both) eat a lot<br>
> of cpu (300%) after stresstest ended [all processes idle except f4 dmq<br>
> handlers]; I tried also to change some parameters on dmq module like<br>
> worker_usleep with no changes at all.<br>
<br>
Hello Paolo,<br>
<br>
just commenting on the first issue:<br>
<br>
So I understood you correctly, after the stress-test you observe a not ending <br>
CPU load on the Kamailio server, even without load?<br>
<br>
Maybe you can have a look on the CPU consuming processes by attaching e.g. <br>
"strace" to them at the next occasion, to see what they are doing.<br>
<br>
Best regards,<br>
<br>
Henning<br>
<br>
> At last, using kamailio in a kubernetes system I have several kamailio<br>
> instances that pops-up and then tiers down with different ips; for this<br>
> reason dmq seems not able to delete peers, adding, for every defunct node a<br>
> warning like this :<br>
> router-3 17(34) ERROR: dmq [notification_peer.c:599]:<br>
> notification_resp_callback_f(): deleting server<br>
> sip:172.28.1.211:5062;status=active<br>
> because of failed request<br>
> router-1 router-sr 17(33) ERROR: dmq [notification_peer.c:599]:<br>
> notification_resp_callback_f(): deleting server<br>
> sip:172.28.1.213:5062;status=active<br>
> because of failed request<br>
> <br>
> Il giorno sab 26 gen 2019 alle ore 01:43 Alex Balashov <<br>
> <br>
> <a href="mailto:abalashov@evaristesys.com" target="_blank">abalashov@evaristesys.com</a>> ha scritto:<br>
> > I think the realistic answer is that it's getting to be that way. I<br>
> > think DMQ is now the recommended way to share usrloc and htable across<br>
> > multiple hosts. DMQ+dialog is still a work in progress. Not sure about<br>
> > DMQ+some other new stuff.<br>
> > <br>
> > On Fri, Jan 25, 2019 at 04:21:43PM +0000, Canuck . wrote:<br>
> > > Before DMQ there were other ways to do similar things. Is DMQ now<br>
> > > considered the best way? Assuming I am using recent stable?<br>
> > > <br>
> > > Are there any good guides on clustering Kamailio? I am not finding a<br>
> > > lot of good info on that subject. Specifically, for multi datacenter<br>
> > > active active where things like floating IP's and keepalived are not<br>
> > > really an option.<br>
<br>
-- <br>
Henning Westerholt - <a href="https://skalatan.de/blog/" rel="noreferrer" target="_blank">https://skalatan.de/blog/</a><br>
Kamailio services - <a href="https://skalatan.de/services" rel="noreferrer" target="_blank">https://skalatan.de/services</a><br>
Kamailio security assessment - <a href="https://skalatan.de/de/assessment" rel="noreferrer" target="_blank">https://skalatan.de/de/assessment</a><br>
</blockquote></div>