Hello.

I’m new at Freeswitch.  I just installed the versión : FreeSWITCH version: 1.0.head (git-c64f475 2011-01-18 14-36-30 -0500).

I also installed the codec g729 for transcoding from g711 to g729  (for testing purposes only).

I have near 120 simmultaneous calls and I’m having this use of CPU.

 

top - 15:14:29 up 21:49,  3 users,  load average: 15.15, 15.66, 16.11

Tasks: 118 total,   2 running, 116 sleeping,   0 stopped,   0 zombie

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

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

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

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

Mem:   2073316k total,  2024396k used,    48920k free,   159660k buffers

Swap:  4192944k total,       72k used,  4192872k free,  1678300k cached

 

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                               

21944 root      20   0  130m  70m 4784 S 385.5  3.5 420:08.69 freeswitch                                                           

    1 root      20   0  2012  776  572 S  0.0  0.0   0:00.95 init                                                                  

    2 root      15  -5     0    0    0 S  0.0  0.0   0:00.00 kthreadd                                                              

    3 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/0                                                           

    4 root      15  -5     0    0    0 S  0.0  0.0   0:02.70 ksoftirqd/0                                                           

    5 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/0                                                            

    6 root      RT  -5     0    0    0 S  0.0  0.0   0:00.09 migration/1                                                           

    7 root      15  -5     0    0    0 S  0.0  0.0   0:02.66 ksoftirqd/1                                                           

    8 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/1                                                            

    9 root      RT  -5     0    0    0 S  0.0  0.0   0:00.04 migration/2                                                           

   10 root      15  -5     0    0    0 S  0.0  0.0   0:02.25 ksoftirqd/2                                                           

   11 root      RT  -5     0    0    0 S  0.0  0.0   0:00.00 watchdog/2                               

 

I have a server with Intel(R) Xeon(R) CPU Quad Core @ 2.33GHz and 2 Gig of RAM.

 

Is this use of CPU normal with this number of active calls?.  Remember that I’m doing transcoding.

 

I also made this setup :

 

ulimit -c unlimited

ulimit -d unlimited

ulimit -f unlimited

ulimit -i unlimited

ulimit -n 999999

ulimit -q unlimited

ulimit -u unlimited

ulimit -v unlimited

ulimit -x unlimited

ulimit -s 240

ulimit -l unlimited

 

Can someone help me here?

 

Thanks

Ricardo.-