<div dir="auto">Hello Shaun,</div><div dir="auto"><br></div><div dir="auto">Thanks for replying. I’m not using mod_callcenter at all. I’m simply playing back a file. I wonder if this is cpu bounding. I guess I can test this by doing echo instead.</div><div dir="auto"><br></div><div dir="auto">I also added another profile, since I read on a thread it might help (also read that’s not true), but that’s not it. All of my metal boxes work just fine at ~3000 channels, so I’m thinking it’s related somehow to the underlying VM.</div><div dir="auto"><br></div><div dir="auto">Thanks again.</div><div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 14 Oct 2020 at 07:29, Shaun Stokes <shaun@sysconfig.cloud> 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)"><br><br><br><br><br><br><br><br><br><br><div dir="ltr"><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>Hi David,</div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>We also use FS on a RAM Disk, it works great with 100's of concurrent calls on all the databases except for the call centre module which quickly becomes CPU bound.</div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><span style="font-family:Calibri,Arial,Helvetica,sans-serif;display:inline!important;background-color:rgb(255,255,255)">Were you using the call centre module in your test? If so, I'd suggest moving it to an external RDBMS such as PGSQL (could be<br><br> running on the same VM).</span><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>FS is multi-threaded but there are certain processes which FS creates a dedicated child process for (one thread) such as SQLite (one process per database). If you can find out which FS process is using 100% CPU on one thread then you should be able to identify<br><br> the bottleneck.</div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>Similar issue here: <a href="https://lists.freeswitch.org/pipermail/freeswitch-users/2012-October/088895.html" id="m_975449026075273085LPlnk452860" target="_blank" style="font-family:Calibri,Arial,Helvetica,sans-serif">https://lists.freeswitch.org/pipermail/freeswitch-users/2012-October/088895.html</a></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br><br><br><br></div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>Thanks,</div><br><br><div style="font-family:Calibri,Arial,Helvetica,sans-serif;font-size:12pt;color:rgb(0,0,0)"><br><br>Shaun</div><br><br><div><br><br><hr style="display:inline-block;width:98%"><br><br><div id="m_975449026075273085divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt;font-family:Calibri,sans-serif;color:rgb(0,0,0)"><b style="font-family:Calibri,sans-serif">From:</b> FreeSWITCH-users <<a href="mailto:freeswitch-users-bounces@lists.freeswitch.org" target="_blank" style="font-family:Calibri,sans-serif">freeswitch-users-bounces@lists.freeswitch.org</a>> on behalf of David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank" style="font-family:Calibri,sans-serif">david.villasmil.work@gmail.com</a>><br><br><br><b style="font-family:Calibri,sans-serif">Sent:</b> 14 October 2020 00:14<br><br><br><b style="font-family:Calibri,sans-serif">To:</b> FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org" target="_blank" style="font-family:Calibri,sans-serif">freeswitch-users@lists.freeswitch.org</a>><br><br><br><b style="font-family:Calibri,sans-serif">Subject:</b> Re: [Freeswitch-users] FS on a VM only uses one cpu?</font><br><br><div> </div><br><br></div></div></div><div dir="ltr"><div><br><br><div><br><br><div dir="ltr">BTW sqlite is on a ram disk.<br><br><div><br clear="all"><br><br><div><br><br><div dir="ltr"><br><br><div dir="ltr"><br><br><div>Regards,</div><br><br><div><br><br><br></div><br><br>David Villasmil<br><br><div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><br><br><div>phone: +34669448337</div><br><br></div><br><br></div><br><br></div><br><br><br><br><br></div><br><br></div><br><br><br><br><br><div><br><br><div dir="ltr">On Tue, Oct 13, 2020 at 11:13 PM David Villasmil <<a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a>> wrote:<br><br><br></div><br><br><blockquote 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)"><br><br><div dir="ltr"><br><br><div>Hello all,<br><br><br></div><br><br><div><br><br><br></div><br><br><div>I compiled 1.10 on a debian-buster VM, and from htop it looks it's only utilizing one CPU.<br><br><br>Anyone seen this?</div><br><br><div><br><br><br></div><br><br><div><br><br><div><img alt="Screenshot 2020-10-13 at 23.11.13.png" src="cid:1752673c10fb340cff51" style="width:611px;max-width:100%"><br><br><br></div><br><br></div><br><br><div><br><br><br></div><br><br>I'm just running test calls, fs receives and playback a wav file. This is at 700 channels.<br><br><div><br><br><br><div><br><br><div><br><br><div dir="ltr"><br><br><div dir="ltr"><br><br><div>Regards,</div><br><br><div><br><br><br></div><br><br>David Villasmil<br><br><div>email: <a href="mailto:david.villasmil.work@gmail.com" target="_blank">david.villasmil.work@gmail.com</a></div><br><br><div>phone: +34669448337</div><br><br></div><br><br></div><br><br></div><br><br></div><br><br></div><br><br></div><br><br></blockquote><br><br></div><br><br></div><br><br></div></div><div dir="ltr"><div></div><br><br></div><br><br><br><br>_________________________________________________________________________<br><br><br><br>The FreeSWITCH project is sponsored by SignalWire <a href="https://signalwire.com" rel="noreferrer" target="_blank">https://signalwire.com</a><br><br>Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.<br><br>Build your next product on our scalable cloud platform.<br><br><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><br><br>Professional FreeSWITCH Services<br><br><a href="mailto:sales@freeswitch.com" target="_blank">sales@freeswitch.com</a><br><br><a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a><br><br><br><br>Official FreeSWITCH Sites<br><br><a href="https://freeswitch.com/oss" rel="noreferrer" target="_blank">https://freeswitch.com/oss</a><br><br><a href="https://freeswitch.org/confluence" rel="noreferrer" target="_blank">https://freeswitch.org/confluence</a><br><br><a href="https://cluecon.com" rel="noreferrer" target="_blank">https://cluecon.com</a><br><br><br><br>FreeSWITCH-users mailing list<br><br><a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br><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><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><br><a href="https://freeswitch.com" rel="noreferrer" target="_blank">https://freeswitch.com</a></blockquote></div></div>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><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>