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

Ken Rice krice at freeswitch.org
Thu Sep 29 18:12:46 MSD 2016


Better to just use htop and you can not only see that but pretty graphs heh

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Kevin Wormington
Sent: Thursday, September 29, 2016 8:59 AM
To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
Subject: Re: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high CPU load

If you press ‘1’ while in top it should display the usage of individual CPUs so you can see Ken’s point.


> On Sep 29, 2016, at 7:03 AM, Ken Rice <krice at freeswitch.org> wrote:
> 
> Keep in mind that top showing 125% is VERY misleading... lets say you 
> have a
> 10 core system for the sake of example, 125% in top means you are 
> using roughly 12.5% of the total CPU Power of your system.  This is 
> because TOP takes the individual core percentages and adds them up...
> 
> -----Original Message-----
> From: freeswitch-users-bounces at lists.freeswitch.org
> [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of 
> Mikhail Demekhov
> Sent: Thursday, September 29, 2016 1:50 AM
> To: freeswitch-users at lists.freeswitch.org
> Subject: [Freeswitch-users] Debian8 FS-1.6.10 simple bridging and high 
> CPU load
> 
> 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
> 
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org
> 
> 
> ______________________________________________________________________
> ___ Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
> 
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.com
> 
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-use
> rs
> http://www.freeswitch.org
> 



_________________________________________________________________________
Professional FreeSWITCH Consulting Services: 
consulting at freeswitch.org
http://www.freeswitchsolutions.com

Official FreeSWITCH Sites
http://www.freeswitch.org
http://confluence.freeswitch.org
http://www.cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




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