<html><head><meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><meta name="Generator" content="Microsoft Word 12 (filtered medium)"><style><!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EstiloCorreo17
        {mso-style-type:personal-compose;
        font-family:Consolas;
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 3.0cm 70.85pt 3.0cm;}
div.WordSection1
        {page:WordSection1;}
--></style></head><body lang="ES-CL" link="blue" vlink="purple"><div class="WordSection1"><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">Hello.</span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:Consolas">I’m new at Freeswitch.  </span><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I just installed the versión : FreeSWITCH version: 1.0.head (git-c64f475 2011-01-18 14-36-30 -0500).</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I also installed the codec g729 for transcoding from g711 to g729  (for testing purposes only).</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I have near 120 simmultaneous calls and I’m having this use of CPU.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">top - 15:14:29 up 21:49,  3 users,  load average: 15.15, 15.66, 16.11</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Tasks: 118 total,   2 running, 116 sleeping,   0 stopped,   0 zombie</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Cpu0  : 49.7%us,  1.7%sy,  0.0%ni, 48.1%id,  0.2%wa,  0.0%hi,  0.2%si,  0.0%st</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Cpu1  : 49.5%us,  1.7%sy,  0.0%ni, 48.3%id,  0.3%wa,  0.0%hi,  0.2%si,  0.0%st</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Cpu2  : 48.8%us,  1.8%sy,  0.0%ni, 48.3%id,  0.6%wa,  0.1%hi,  0.5%si,  0.0%st</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Cpu3  : 47.2%us,  2.2%sy,  0.0%ni, 47.4%id,  0.4%wa,  0.5%hi,  2.4%si,  0.0%st</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Mem:   2073316k total,  2024396k used,    48920k free,   159660k buffers</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Swap:  4192944k total,       72k used,  4192872k free,  1678300k cached</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                                </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">21944 root      20   0  130m  70m 4784 S 385.5  3.5 420:08.69 freeswitch                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    1 root      20   0  2012  776  572 S  0.0  0.0   0:00.95 init                                                                   </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                               </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/0                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    4 root      15  -5     0    0    0 S  0.0  0.0   0:02.70 ksoftirqd/0                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                             </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    6 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/1                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    7 root      15  -5     0    0    0 S  0.0  0.0   0:02.66 ksoftirqd/1                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                             </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">    9 root      RT  -5     0    0    0 S  0.0  0.0   0:00.04 migration/2                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">   10 root      15  -5     0    0    0 S  0.0  0.0   0:02.25 ksoftirqd/2                                                            </span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">   11 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2                                </span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I have a server with Intel(R) Xeon(R) CPU Quad Core @ 2.33GHz and 2 Gig of RAM.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Is this use of CPU normal with this number of active calls?.  Remember that I’m doing transcoding.</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">I also made this setup : </span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -c unlimited</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -d unlimited</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -f unlimited</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -i unlimited</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -n 999999</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -q unlimited</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -u unlimited</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -v unlimited</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -x unlimited</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -s 240</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">ulimit -l unlimited</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal">
<span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Can someone help me here?</span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas"> </span></p><p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Thanks</span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:10.0pt;font-family:Consolas">Ricardo.-</span></p></div></body></html>