<div><div dir="auto">Have you checked the max-sessions (switch.conf.xml) and the ulimits etc (OS level)?</div></div><div dir="auto"><br></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 11, 2020 at 03:45 Sergey Safarov <<a href="mailto:s.safarov@gmail.com">s.safarov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">Need looks FreeSwitch logs.<br></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 11, 2020 at 12:53 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div><div dir="auto">I get to 2000 channels fine. My question is why can’t I higher without calls failing? FS never uses more than 40% CPU and 20 gb RAM.</div><div dir="auto">Config is basically vanilla, I unloaded most unnecessary modules, too.</div></div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, 11 Jul 2020 at 04:59, Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">> Just for info. Can you try on windows? <div><br></div><div>That does not matter.</div><div>On Linux, I get results with 50 calls per second, every call continues for 24 seconds, 1000 concurrent calls, and 10 000 total calls with only 3 failed calls. Tested kazoo cluster, more complex cluster then standalone freeswitch.</div><div>So must work on Linux</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 11, 2020 at 6:09 AM Sergey Safarov <<a href="mailto:s.safarov@gmail.com" target="_blank">s.safarov@gmail.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div dir="ltr">SIPP can record failed call ID<div>Using this call-id you search for FreeSwitch logs.</div><div>Also, you can record all network traffic using dumpcap or tcpdump utility to disk. Later you can open these pcap files using sngrep utility and check waht is wrong with failed calls.</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jul 11, 2020 at 5:07 AM Alex Sibyakin <<a href="mailto:alex@freeswitch.com" target="_blank">alex@freeswitch.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(204,204,204)"><div style="text-align:left;direction:ltr"><div>Hello,</div><div><br></div><div>What is your OS? What is your Sofia configuration?</div><div><br></div><div>What the vmstat -w -S M 1 10 says?</div><div><br></div><div>Can you try without Docker?</div><div><br></div><div>Regards,</div><div>Alex</div><div><br></div><div><br></div><div>On Fri, 2020-07-10 at 19:53 +0100, David Villasmil wrote:</div><blockquote type="cite" style="margin:0px 0px 0px 0.8ex;border-left-width:2px;border-left-style:solid;padding-left:1ex;border-left-color:rgb(114,159,207)"><div dir="ltr">Hello all,<div><br></div><div>Let's assume i have a 28 CPU (56 cores) with 64gb RAM.</div><div>I'm load-testing that box with something like this:</div><div><br></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)">SIPp->--\ /----> FS1</font></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)"> ---->FS</font></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)">SIPp->--/ \----> FS2</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)"><br></font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">SIPp is simply sending calls with rtp to FS.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">FS just forward the calls to FS1 and FS2 based on some very simple decision.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">FS1 and FS2 simply answer and execute echo.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">At ~2000 channels FS fails to reply to some SIP messages, basically calls are timing out, answer ratio goes down.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">BUT CPU never goes over 45% on the FS and memory is ample. I don't see packe drops on the interface. </font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">FS is running in a docker.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)"><br></font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">I'm wondering whether FS would use all of the available CPU or am I hitting some other limit somewhere.</font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)"><br></font></div><div><font face="arial, sans-serif" style="font-family:arial,sans-serif;color:rgb(0,0,0)">Any insight is welcomed!</font></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)"><br></font></div><div><font face="monospace" style="font-family:monospace;color:rgb(0,0,0)"><br clear="all"></font><div><div dir="ltr"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div></div></div></div>
<pre style="font-family:monospace">_________________________________________________________________________</pre><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">The FreeSWITCH project is sponsored by SignalWire </pre><a href="https://signalwire.com" target="_blank"><pre style="font-family:monospace">https://signalwire.com</pre></a><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.</pre><pre style="font-family:monospace">Build your next product on our scalable cloud platform.</pre><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">Join our online community to chat in real time </pre><a href="https://signalwire.community" target="_blank"><pre style="font-family:monospace">https://signalwire.community</pre></a><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">Professional FreeSWITCH Services</pre><a href="mailto:sales@freeswitch.com" target="_blank"><pre style="font-family:monospace">sales@freeswitch.com</pre></a><pre style="font-family:monospace"><br></pre><a href="https://freeswitch.com" target="_blank"><pre style="font-family:monospace">https://freeswitch.com</pre></a><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">Official FreeSWITCH Sites</pre><a href="https://freeswitch.com/oss" target="_blank"><pre style="font-family:monospace">https://freeswitch.com/oss</pre></a><pre style="font-family:monospace"><br></pre><a href="https://freeswitch.org/confluence" target="_blank"><pre style="font-family:monospace">https://freeswitch.org/confluence</pre></a><pre style="font-family:monospace"><br></pre><a href="https://cluecon.com" target="_blank"><pre style="font-family:monospace">https://cluecon.com</pre></a><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">FreeSWITCH-users mailing list</pre><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank"><pre style="font-family:monospace">FreeSWITCH-users@lists.freeswitch.org</pre></a><pre style="font-family:monospace"><br></pre><a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank"><pre style="font-family:monospace">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</pre></a><pre style="font-family:monospace"><br></pre><pre style="font-family:monospace">UNSUBSCRIBE:</pre><a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank"><pre style="font-family:monospace">http://lists.freeswitch.org/mailman/options/freeswitch-users</pre></a><pre style="font-family:monospace"><br></pre><a href="https://freeswitch.com" target="_blank"><pre style="font-family:monospace">https://freeswitch.com</pre></a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
</blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr"><div dir="ltr"><div>Regards,</div><div><br></div>David Villasmil<div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><div>phone: +34669448337</div></div></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div>
_________________________________________________________________________<br>
<br>
The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br>
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br>
Build your next product on our scalable cloud platform.<br>
<br>
Join our online community to chat in real time <a href="https://signalwire.community" rel="noreferrer" target="_blank">https://signalwire.community</a><br>
<br>
Professional FreeSWITCH Services<br>
<a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br>
<a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br>
<a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" rel="noreferrer" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>