High CPU, sits at 50%

I’m little lost with this one, typically I see CPU usage less than 5% but this new build of FreePBX with Asterisk 11.5.1 the CPU at rest with no calls sits at 50% as shown on the GUI.

PBX is a Intel Core Duo CPU, E4500, 2.2ghz. 4gigs of ram.

When looking at Top from from the CLI I get the following:

Asterisk CPU = 100.7
Root CPU = 0.7
Root CPU = 0.3

1730 asterisk 20 0 86028 35m 12m S 100.7 0.9 133:28.82 asterisk
11113 root 20 0 2700 1144 884 R 0.7 0.0 0:00.55 top
1595 asterisk 20 0 1220m 85m 8560 S 0.3 2.2 0:20.56 java
1 root 20 0 2900 1412 1204 S 0.0 0.0 0:00.93 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.12 ksoftirqd/0
5 root RT 0 0 0 0 S 0.0 0.0 0:00.00 migration/0

When I look at our remote office with no calls running on a Atom I see the CPU usage of 1-8%, this machine is using FreeBPX with *1.8 however.

This is my first run with Asterisk 11, is this just the way it runs or do I have something fubar. I’m not recording any calls, a simple 12 endpoint system with 3 trunks.

Any thoughts at what to look at?

Thanks All

Jay

It looks like java not Asterisk running amok. Are you using iSymphony.

I don’t use it, but I do see its running.

I went to the module/admin and disabled it, no joy.

1730 asterisk 20 0 86028 35m 12m S 100.4 0.9 184:48.83 asterisk
11113 root 20 0 2700 1144 884 R 0.3 0.0 0:06.09 top
1 root 20 0 2900 1412 1204 S 0.0 0.0 0:00.93 init

May I ask how you thought Java was running amok? Sorry for the noob question, maybe I’m looking at the wrong numbers.

Thanks

Jay

I did a power cycle to be safe, same issue.

btw, thanks again Scott.

Jay

Went to the backup server with the same config, CPU=0-5% at idle.

Thinking it may be easier to just redo the other server, it only takes a few minutes to get one up and running anyway rather than chasing a gost.

I saw this:

595 asterisk 20 0 1220m 85m 8560 S 0.3 2.2 0:20.56 java

The only Java process is iSymphony

Interesting.

SkykingOH, in your opinion, on average how many concurrent running processes (PIDs) related to iSymphonyServer.jar (with htop MEM% sorted I saw many) should a system have running (with no use of iSymphony at all)?

I see 32…most of them (child processes?) with 0.0% CPU and 4% MEM usages but at least one (the parent process?) with some activity (<1% CPU <5% MEM usages).

I don’t see any abnormal memory usage (FreePBX Distro 4.211.64-7 64 bit with latest iSymphony modules and RPM installed), system very recently updated.