<div dir="ltr"><div><div>Dear Muhammad,<br><br></div>I think your issue is different than Ali Pey because CPU rises at a specific time (approx) while running fine most of the time. In my experience you should check following ..<br></div>- Check using top commands if its indeed freeswitch taking up CPU. It may be logrotate or something.<br><div>- If you are using DB on same server, also check DB connections, May be some long running query causing it (Like someone fires some billing report at approx same time)<br><br></div><div>On the other hand when you say "it runs fine all day". You may want to check that using top command at different time of day, may be CPU usage keep on increasing and in your peak time it increases so much that you see symptoms. (If this is true may be you and Ali pey have same issue perhaps some CPU leak).<br><br></div><div>P.S. All points I mentioned are from my VOIP experiences in general. I am NOT freeswitch expert. I have recently started experiments with freeswitch so people who are using freeswitch or experts will give more meaningful insight.<br></div><div> <br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Feb 11, 2015 at 7:16 PM, 彭勇 <span dir="ltr"><<a href="mailto:ppyy@pubyun.com" target="_blank">ppyy@pubyun.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">we have add this option to grub and reboot one months ago. no help.<br>
<br>
we have media-pass-through option, and have more than 10 thousands<br>
sessions. it works fine all day and the CPU will rise suddenly about<br>
9:00 am every day. i should restart the FS to recovery.<br>
<br>
On Wed, Feb 11, 2015 at 9:25 PM, Muhammad Naseer Bhatti<br>
<div class="HOEnZb"><div class="h5"><<a href="mailto:nbhatti@gmail.com">nbhatti@gmail.com</a>> wrote:<br>
> Try nohz=off reboot and see if that helps.<br>
><br>
> Sent from my iPad<br>
><br>
> On Feb 11, 2015, at 16:18, Aqs Younas <<a href="mailto:aqsyounas@gmail.com">aqsyounas@gmail.com</a>> wrote:<br>
><br>
> I am facing same issue. Freeswitch taking more than 100% cpu usage in htop<br>
> even on 200 concurrent calls. For 1000 concurrent calls i have to install 3<br>
> freeswitch instances due to this much cpu usage taking by a single<br>
> freeswitch node. My Dist is Debian 7.<br>
><br>
> On 11 February 2015 at 17:35, Muhammad Naseer Bhatti <<a href="mailto:nbhatti@gmail.com">nbhatti@gmail.com</a>><br>
> wrote:<br>
>><br>
>><br>
>> It looks like this is the same tickless kernel issue. I am using Debian 7<br>
>> and the CPU usage shows very high. Adding nohz=off to grub options does<br>
>> makes it lower. I am gathering more information in order to file a Jira.<br>
>> Debian 6 on the other hand works very quietly on the same workload. We are<br>
>> talking about 200+% CPU utilization on Debian 7 and around 50% on Debian 6<br>
>> showing in htop. I know so many other factors also involved but I am still<br>
>> digging out more.<br>
>><br>
>> —<br>
>> Thanks,<br>
>> Muhammad Naseer Bhatti<br>
>><br>
>> From: 彭勇 <<a href="mailto:ppyy@pubyun.com">ppyy@pubyun.com</a>><br>
>> Reply: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>><br>
>> Date: February 11, 2015 at 3:20:46 PM<br>
>> To: FreeSWITCH Users Help <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>>><br>
>> Subject: Re: [Freeswitch-users] Freeswitch 1.4.15 and a sudden jump in<br>
>> CPU usage<br>
>><br>
>> same issue.<br>
>><br>
>> I have several FS 1.4.15 running on CentOS 6.5 x86_64, the CPU will be<br>
>> very high about 9:00 am every morning. there is no crontab at this<br>
>> time.<br>
>><br>
>> i will downgrade to 1.4.14 to see if there is such issue.<br>
>><br>
>> On Wed, Feb 11, 2015 at 1:14 AM, Ali Pey <<a href="mailto:alipey@gmail.com">alipey@gmail.com</a>> wrote:<br>
>> > Hi Anthony,<br>
>> ><br>
>> > I do not know if I am hitting a bug and if this is a bug, I don't have<br>
>> > much<br>
>> > info. I'm using this mailing list to see if anyone else is experiencing<br>
>> > this<br>
>> > problem and if there is a configuration change on Linux or Freeswitch<br>
>> > that<br>
>> > can fix this problem. Jira would be to report bugs when you know there<br>
>> > is a<br>
>> > bug. My problem could be (very likely) an environment related issue.<br>
>> ><br>
>> > Thanks.<br>
>> ><br>
>> ><br>
>> > On Tue, Feb 10, 2015 at 11:55 AM, Anthony Minessale<br>
>> > <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
>> >><br>
>> >> Also you will have better luck using JIRA. The mailing list is<br>
>> >> expressly<br>
>> >> NOT for reporting issues.<br>
>> >><br>
>> >><br>
>> >> On Tue, Feb 10, 2015 at 10:51 AM, Michael Jerris <<a href="mailto:mike@jerris.com">mike@jerris.com</a>><br>
>> >> wrote:<br>
>> >>><br>
>> >>> you might want to use gcore to look at the threads and see what is<br>
>> >>> different when it in this state and not.<br>
>> >>><br>
>> >>> > On Feb 10, 2015, at 11:28 AM, Ali Pey <<a href="mailto:alipey@gmail.com">alipey@gmail.com</a>> wrote:<br>
>> >>> ><br>
>> >>> > Hello,<br>
>> >>> ><br>
>> >>> > Normally our CPU usage during peak hours are less than %10; however,<br>
>> >>> > time to time, freeswitch uses more than %95 of the CPU and it stays<br>
>> >>> > there<br>
>> >>> > forever. The only way to get it back to normal is to restart<br>
>> >>> > freeswitch<br>
>> >>> > service. During the high CPU usage, freeswitch continues to operate<br>
>> >>> > but very<br>
>> >>> > very slow.<br>
>> >>> ><br>
>> >>> > If I lower the traffic quite a bit, the CPU comes down, but adding<br>
>> >>> > back<br>
>> >>> > the traffic, the CPU usage goes right back up. After freeswitch<br>
>> >>> > restart, it<br>
>> >>> > becomes normal again with the same traffic.<br>
>> >>> ><br>
>> >>> ><br>
>> >>> > Any ideas or suggestions?<br>
>> >>> ><br>
>> >>> > Much appreciated.<br>
>> >>> ><br>
>> >>> > Thanks,<br>
>> >>> > Ali Pey<br>
>> >>> ><br>
>> >>><br>
>> >>><br>
>> >>><br>
>> >>> _________________________________________________________________________<br>
>> >>> Professional FreeSWITCH Consulting Services:<br>
>> >>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> >>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>> >>><br>
>> >>> Official FreeSWITCH Sites<br>
>> >>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> >>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> >>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>> >>><br>
>> >>> FreeSWITCH-users mailing list<br>
>> >>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >>><br>
>> >>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> >><br>
>> >><br>
>> >><br>
>> >><br>
>> >> --<br>
>> >> Anthony Minessale II ♬ @anthmfs ♬ @FreeSWITCH ♬<br>
>> >><br>
>> >> ☞ <a href="http://freeswitch.org/" target="_blank">http://freeswitch.org/</a> ☞ <a href="http://cluecon.com/" target="_blank">http://cluecon.com/</a> ☞<br>
>> >> <a href="http://twitter.com/FreeSWITCH" target="_blank">http://twitter.com/FreeSWITCH</a><br>
>> >> ☞ <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch ☞ <a href="http://freeswitch.org/g+" target="_blank">http://freeswitch.org/g+</a><br>
>> >><br>
>> >> ClueCon Weekly Development Call<br>
>> >> ☎ <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> ☎ +19193869900<br>
>> >><br>
>> >><br>
>> >><br>
>> >> _________________________________________________________________________<br>
>> >> Professional FreeSWITCH Consulting Services:<br>
>> >> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> >> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>> >><br>
>> >> Official FreeSWITCH Sites<br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> >> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> >> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>> >><br>
>> >> FreeSWITCH-users mailing list<br>
>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> >><br>
>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> ><br>
>> ><br>
>> ><br>
>> ><br>
>> > _________________________________________________________________________<br>
>> > Professional FreeSWITCH Consulting Services:<br>
>> > <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> > <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>> ><br>
>> > Official FreeSWITCH Sites<br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> > <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> > <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>> ><br>
>> > FreeSWITCH-users mailing list<br>
>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Peng Yong<br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>> _________________________________________________________________________<br>
>> Professional FreeSWITCH Consulting Services:<br>
>> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
>> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
>><br>
>> Official FreeSWITCH Sites<br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
>> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
>><br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
><br>
><br>
> _________________________________________________________________________<br>
> Professional FreeSWITCH Consulting Services:<br>
> <a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
> <a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
><br>
> Official FreeSWITCH Sites<br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
> <a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
> <a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
><br>
> FreeSWITCH-users mailing list<br>
> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br>
<br>
<br>
--<br>
Peng Yong<br>
<br>
_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://confluence.freeswitch.org" target="_blank">http://confluence.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a></div></div></blockquote></div><br></div>