<div dir="ltr">FreeSWITCH is a single process, multi-threading application.<div>htop is showing you threads activity.</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 2 February 2016 at 13:08, Vladislav Ivanov <span dir="ltr">&lt;<a href="mailto:deforceczt@gmail.com" target="_blank">deforceczt@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hey guys,<br><br>I have a question about freeswitch process/threading usage.<br>So far that I haven&#39;t noticed freeswitch to fork himself, I have only 1 freeswitch instance.<br><a href="http://i.imgur.com/bdbYOwp.png" target="_blank">http://i.imgur.com/bdbYOwp.png</a><br><br>But then I found screenshot of htop with freeswitch and noticed that there is multiple freeswitch processes being run:<br><a href="http://i.imgur.com/VNpl55z.jpg" target="_blank">http://i.imgur.com/VNpl55z.jpg</a><br><br>I&#39;m having issues with &quot;loading&quot; the freeswitch after 50 cps in any cpu/ram configuration.<br>Be it physical or virtual environment I cant pass the 50 cps mark.<br>I have strange issue with CPU usage on same CPS:<br><br><a href="http://i.imgur.com/8BdQWVL.png" target="_blank">http://i.imgur.com/8BdQWVL.png</a><br><a href="http://i.imgur.com/mWRnoGr.png" target="_blank">http://i.imgur.com/mWRnoGr.png</a><br><br>I timeload test freeswitch with 50cps for 5+ hours, and seems like there is some kind of leak somewhere.<br>I have tested configuration on:<br>Debian 8<br>2 core/8 gb ram<br>4 core/8 gb ram (graphs are from here)<br>8 core/32 gb ram<br><br>and in all the tests I were not able to send more than 50 cps without CPU dropping to 0 with all system starting to respond really laggy.<br><br>Test is:<br>sipp -&gt; freeswitch -&gt; sipp<br><br>Just 1 dialpeer with bridge action. No gateways. Just simple dialplan and 1 profile...<br>Any advice?<br><br>Thank you all<br><br><br><br><br></div>
<br>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" rel="noreferrer" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" rel="noreferrer" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" rel="noreferrer" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">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="http://www.freeswitch.org" rel="noreferrer" target="_blank">http://www.freeswitch.org</a><br></blockquote></div><br></div>