CPU Usage

Hi,

I’m seeing 100$ CPU usage and not sure what the issue is. ANy guidance on how to proceed appreciated.

System had been running Trixbox for a few years. Just blew it out and loaded the Stable-2.210.62-5 - Release Date-01-24-13 Distro.

Below is output from top.

Thanks,
Westley


top - 15:11:39 up 2 days, 15:53,  1 user,  load average: 1.05, 1.07, 1.02
Tasks:  95 total,   2 running,  93 sleeping,   0 stopped,   0 zombie
Cpu(s): 43.9%us, 52.2%sy,  0.0%ni,  0.0%id,  0.0%wa,  4.0%hi,  0.0%si,  0.0%st
Mem:   1029908k total,   993232k used,    36676k free,   168552k buffers
Swap:   785400k total,      244k used,   785156k free,   469680k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 9657 asterisk  20   0 62032  28m  10m S 99.5  2.9 148:32.88 asterisk
16878 root      20   0  2644 1076  852 R  0.3  0.1   0:00.03 top
    1 root      20   0  2864 1244 1036 S  0.0  0.1   0:01.35 init
    2 root      20   0     0    0    0 S  0.0  0.0   0:00.00 kthreadd
    3 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    4 root      20   0     0    0    0 S  0.0  0.0   0:00.06 ksoftirqd/0
    5 root      RT   0     0    0    0 S  0.0  0.0   0:00.00 migration/0
    6 root      RT   0     0    0    0 S  0.0  0.0   0:00.87 watchdog/0
    7 root      20   0     0    0    0 R  0.0  0.0   0:36.71 events/0
    8 root      20   0     0    0    0 S  0.0  0.0   0:00.00 cgroup
    9 root      20   0     0    0    0 S  0.0  0.0   0:00.00 khelper
   10 root      20   0     0    0    0 S  0.0  0.0   0:00.00 netns
   11 root      20   0     0    0    0 S  0.0  0.0   0:00.00 async/mgr

First, use the code tags, I edited your message. See how you can read it now?

Second, Asterisk is hung up. Do you have a looping context? Go to Asterisk log or CLI and see what is going on.

After you see what problem is do an amportal restart to reload asterisk and FreePBX.