[Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load

Mikhail Demekhov service at ivc.nnov.ru
Thu Sep 29 10:49:53 MSD 2016


Hello!

I have installed freeswitch using apt-get on my debian 8 sersver from 
https://freeswitch.org/confluence/display/FREESWITCH/Debian+8+Jessie 
block under title 'latest release branch:'

My server hardware:
2xCPU AMD Opteron(tm) Processor 6262 HE
64 GB RAM

I'm using calls with bridging from voipgw1(2,3) to gw4(5,6), G711A on 
both leg A and leg B
core.db in TMPFS

Through my server takes about 125 simultaneous calls

CPU load about 125%! It is very high in my opinion.

How to fix it?


top
  PID USER      PR  NI    VIRT    RES    SHR S  %CPU %MEM     TIME+ COMMAND
13587 freeswi+  39  19  485252 200020  16284 S 110,1  0,3   3062:38 
freeswitch

top -H
  PID USER      PR  NI    VIRT    RES    SHR S %CPU %MEM     TIME+ COMMAND
13589 freeswi+  39  19  485252 200692  16284 S  3,0  0,3  55:08.10 
freeswitch
13820 freeswi+  39  19  485252 200692  16284 S  1,6  0,3   0:00.21 
freeswitch
13606 freeswi+  39  19  485252 200692  16284 S  1,3  0,3  27:11.91 
freeswitch
12817 freeswi+  39  19  485252 200692  16284 S  1,3  0,3   0:05.72 
freeswitch
12858 freeswi+  39  19  485252 200692  16284 S  1,3  0,3   0:06.25 
freeswitch
10917 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:16.64 
freeswitch
11059 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:15.60 
freeswitch
11651 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:12.20 
freeswitch
11868 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:11.82 
freeswitch
11940 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:11.56 
freeswitch
12066 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:10.54 
freeswitch
12851 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:05.78 
freeswitch
12852 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:05.53 
freeswitch
13153 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:03.76 
freeswitch
13155 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:03.65 
freeswitch
13226 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:03.45 
freeswitch
13423 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:02.24 
freeswitch
13431 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:02.47 
freeswitch
13549 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:01.67 
freeswitch
13702 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.99 
freeswitch
13719 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.77 
freeswitch
13763 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.56 
freeswitch
13783 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.52 
freeswitch
13821 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.27 
freeswitch
13822 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.17 
freeswitch
13851 freeswi+  39  19  485252 200692  16284 S  1,0  0,3   0:00.07 
freeswitch
13834 root      20   0   26172   3488   2528 R  1,0  0,0   0:00.36 top
     3 root      20   0       0      0      0 S  0,7  0,0  18:40.94 
ksoftirqd/0
     8 root      20   0       0      0      0 S  0,7  0,0  57:06.30 
rcu_sched
13599 freeswi+  39  19  485252 200692  16284 S  0,7  0,3  27:53.60 
freeswitch
13602 freeswi+  39  19  485252 200692  16284 S  0,7  0,3  10:13.13 
freeswitch
10297 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:20.80 
freeswitch
10613 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:18.69 
freeswitch
10838 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:17.52 
freeswitch
11192 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:14.49 
freeswitch
11409 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:14.54 
freeswitch
11450 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:14.57 
freeswitch
11474 freeswi+  39  19  485252 200692  16284 S  0,7  0,3   0:14.26 
..........

Rgards,
Demekhov Mikhail



Join us at ClueCon 2016 Aug 8-12, 2016
More information about the FreeSWITCH-users mailing list