[Freeswitch-users] Freeswitch 1.4.15 and a sudden jump in CPU usage

彭勇 ppyy at pubyun.com
Wed Feb 11 16:46:19 MSK 2015


we have add this option to grub and reboot one months ago. no help.

we have media-pass-through  option, and have more than 10 thousands
sessions. it works fine all day and the CPU will rise suddenly about
9:00 am every day.  i should restart the FS to recovery.

On Wed, Feb 11, 2015 at 9:25 PM, Muhammad Naseer Bhatti
<nbhatti at gmail.com> wrote:
> Try nohz=off reboot and see if that helps.
>
> Sent from my iPad
>
> On Feb 11, 2015, at 16:18, Aqs Younas <aqsyounas at gmail.com> wrote:
>
> I am facing same issue. Freeswitch taking more than 100% cpu usage in htop
> even on 200 concurrent calls. For 1000 concurrent calls i have to install 3
> freeswitch instances due to this much cpu usage taking by a single
> freeswitch node. My Dist is Debian 7.
>
> On 11 February 2015 at 17:35, Muhammad Naseer Bhatti <nbhatti at gmail.com>
> wrote:
>>
>>
>> It looks like this is the same tickless kernel issue. I am using Debian 7
>> and the CPU usage shows very high. Adding nohz=off to grub options does
>> makes it lower. I am gathering more information in order to file a Jira.
>> Debian 6 on the other hand works very quietly on the same workload. We are
>> talking about 200+% CPU utilization on Debian 7 and around 50% on Debian 6
>> showing in htop. I know so many other factors also involved but I am still
>> digging out more.
>>
>>>> Thanks,
>> Muhammad Naseer Bhatti
>>
>> From: 彭勇 <ppyy at pubyun.com>
>> Reply: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>>
>> Date: February 11, 2015 at 3:20:46 PM
>> To: FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>>
>> Subject:  Re: [Freeswitch-users] Freeswitch 1.4.15 and a sudden jump in
>> CPU usage
>>
>> same issue.
>>
>> I have several FS 1.4.15 running on CentOS 6.5 x86_64, the CPU will be
>> very high about 9:00 am every morning. there is no crontab at this
>> time.
>>
>> i will downgrade to 1.4.14 to see if there is such issue.
>>
>> On Wed, Feb 11, 2015 at 1:14 AM, Ali Pey <alipey at gmail.com> wrote:
>> > Hi Anthony,
>> >
>> > I do not know if I am hitting a bug and if this is a bug, I don't have
>> > much
>> > info. I'm using this mailing list to see if anyone else is experiencing
>> > this
>> > problem and if there is a configuration change on Linux or Freeswitch
>> > that
>> > can fix this problem. Jira would be to report bugs when you know there
>> > is a
>> > bug. My problem could be (very likely) an environment related issue.
>> >
>> > Thanks.
>> >
>> >
>> > On Tue, Feb 10, 2015 at 11:55 AM, Anthony Minessale
>> > <anthony.minessale at gmail.com> wrote:
>> >>
>> >> Also you will have better luck using JIRA. The mailing list is
>> >> expressly
>> >> NOT for reporting issues.
>> >>
>> >>
>> >> On Tue, Feb 10, 2015 at 10:51 AM, Michael Jerris <mike at jerris.com>
>> >> wrote:
>> >>>
>> >>> you might want to use gcore to look at the threads and see what is
>> >>> different when it in this state and not.
>> >>>
>> >>> > On Feb 10, 2015, at 11:28 AM, Ali Pey <alipey at gmail.com> wrote:
>> >>> >
>> >>> > Hello,
>> >>> >
>> >>> > Normally our CPU usage during peak hours are less than %10; however,
>> >>> > time to time, freeswitch uses more than %95 of the CPU and it stays
>> >>> > there
>> >>> > forever. The only way to get it back to normal is to restart
>> >>> > freeswitch
>> >>> > service. During the high CPU usage, freeswitch continues to operate
>> >>> > but very
>> >>> > very slow.
>> >>> >
>> >>> > If I lower the traffic quite a bit, the CPU comes down, but adding
>> >>> > back
>> >>> > the traffic, the CPU usage goes right back up. After freeswitch
>> >>> > restart, it
>> >>> > becomes normal again with the same traffic.
>> >>> >
>> >>> >
>> >>> > Any ideas or suggestions?
>> >>> >
>> >>> > Much appreciated.
>> >>> >
>> >>> > Thanks,
>> >>> > Ali Pey
>> >>> >
>> >>>
>> >>>
>> >>>
>> >>> _________________________________________________________________________
>> >>> 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
>> >>
>> >>
>> >>
>> >>
>> >> --
>> >> Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬
>> >>
>> >> ☞ http://freeswitch.org/http://cluecon.com/>> >> http://twitter.com/FreeSWITCH
>> >> ☞ irc.freenode.net #freeswitch ☞ http://freeswitch.org/g+
>> >>
>> >> ClueCon Weekly Development Call
>> >> ☎ sip:888 at conference.freeswitch.org ☎ +19193869900
>> >>
>> >>
>> >>
>> >> _________________________________________________________________________
>> >> 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
>> >
>> >
>> >
>> >
>> > _________________________________________________________________________
>> > 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
>>
>>
>>
>> --
>> Peng Yong
>>
>> _________________________________________________________________________
>> 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
>>
>>
>> _________________________________________________________________________
>> 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
>
>
> _________________________________________________________________________
> 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
>
>
> _________________________________________________________________________
> 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



-- 
Peng Yong



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