[Freeswitch-users] Strangely High CPU Usage on Idle FS server

Anthony Matejcich B.Com info at ozetel.com.au
Tue Jan 7 02:40:13 MSK 2014


Hi Anthony

Thank you very much for your assistance - will follow these instructions 
and advise.

Again, thank you.

Kind Regards,

Anthony Matejcich, B.Com
Managing Director.



Suite 3 Level 1 1 Springfield Lakes Bvde, Springfield Lakes Q 4300
*T:* 1300 OZETEL (693835) | *F:* 1800 OZETEL (693835) | *E:* 
info at ozetel.com.au

<http://www.youtube.com/ozeteltv> <http://www.twitter.com/ozetel> 
<http://www.facebook.com/ozetel>

***Disclaimer***
This e-mail may contain confidential information. If you are not the 
intended recipient, please notify the sender immediately and delete this 
e-mail from your system.
You must not disclose this email to anyone without express permission 
from the sender. The contents of all emails sent to, and received from, 
Ozetel may be scanned,
stored, or disclosed to others by Ozetel at Ozetel's discretion. Ozetel 
has exercised care to avoid errors in the information contained in this 
e-mail but does not
warrant that the information is error or omission free.

On 7/01/2014 7:00 am, Anthony Minessale wrote:
> First get updated to latest before troubleshooting any problems.
>
> If you still have a similar observation lookup how to get a gcore and 
> a backtrace on the wiki.
> Then run:
>
> top -p `cat /usr/local/freeswitch/run/freeswitch.pid` -H
>
> Look for individual pids with high cpu usage.
>
> dump gcore and get a backtrace with info threads, and thread apply all bt.
>
> Use the data to see the thread with the matching pid and report it to 
> jira http://jira.freeswitch.org
>
>
> Doing it on the existing older version won't help because we do not 
> maintain previous minor releases.
>
>
>
>
>
>
>
>
>
>
>
>
> On Mon, Jan 6, 2014 at 2:37 AM, Anthony Matejcich B.Com 
> <info at ozetel.com.au <mailto:info at ozetel.com.au>> wrote:
>
>     HI guys
>
>     Relatively new to the FS world and have exhausted research online.
>
>     Running FS
>     FreeSWITCH Version 1.2.10+git~20130624T024915Z~8fd4994b0c (git
>     8fd4994 2013-06-24 02:49:15Z)
>     On VMWare virtual machine with Debian6 and specs of 2 CPU with 1
>     GB RAM, 50GB storage
>
>     Currently only running one client with very very low call usage
>     until we have tested the FS server. Total of 30 calls and day
>     maximum and basically only running a simple IVR set up with 7
>     digit keypress prior to sending to Lua script for a simple calculation
>     and then delivery to mobile or landline in Australia.
>
>     System has been great for 6 months but issue arose around the 13th
>     Dec 13 - dmtf entries are being duplicated. A single kepyress
>     appears to register 2 of the same digit and is recorded as such in
>     the CLI notes. Only happens about 50% of the time. Added a CPU to
>     the mix
>     and it may have assisted with this becoming about 30% of the time
>     showing the issue now. But that seems crazy to require CPU's given it
>     is such a small set up.
>
>     Reviews showed high CPU Usage via top command information. CPU
>     usage for the FS process is sitting between 14 and 22%!
>     (constantly fluctuating) For the idle machine/with no calls coming
>     in.
>     Thus %wa is fluctuating between 1 and 8% constantly.
>
>     There is no load on the server - but we did look at master logs
>     and update core.db to the default <param name="core-db-name"
>     value="/dev/shm/core.db" />
>
>     Very strange given the success over the first 6 months.
>
>     Can anyone help please with information or where to go? Would be
>     greatly appreciated.
>
>     Anthony
>
>
>     _________________________________________________________________________
>     Professional FreeSWITCH Consulting Services:
>     consulting at freeswitch.org <mailto:consulting at freeswitch.org>
>     http://www.freeswitchsolutions.com
>
>     
>     
>
>     Official FreeSWITCH Sites
>     http://www.freeswitch.org
>     http://wiki.freeswitch.org
>     http://www.cluecon.com
>
>     FreeSWITCH-users mailing list
>     FreeSWITCH-users at lists.freeswitch.org
>     <mailto: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 <http://irc.freenode.net> #freeswitch ? 
> _http://freeswitch.org/g+_
>
> ClueCon Weekly Development Call
> ? sip:888 at conference.freeswitch.org 
> <mailto:sip%3A888 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://wiki.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/a1339576/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: small-ozetel-logo.jpg
Type: image/jpeg
Size: 6710 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/a1339576/attachment-0004.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e_youtube_4.jpg
Type: image/jpeg
Size: 2441 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/a1339576/attachment-0005.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e_twitter.jpg
Type: image/jpeg
Size: 1856 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/a1339576/attachment-0006.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: e_fbook.jpg
Type: image/jpeg
Size: 1765 bytes
Desc: not available
Url : http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140107/a1339576/attachment-0007.jpg 


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