High cpu utilization

Hello
I’m running Asterisk 1.4.0 on Mandriva 2007, AMD Athlon 3200 CPU, 1G RAM.

I see that CPU load is very high without any calls!

top - 14:26:15 up 30 days, 47 min,  1 user,  load average: 1.03, 1.01, 1.00
Tasks:  72 total,   2 running,  68 sleeping,   0 stopped,   2 zombie
Cpu(s):  6.3% us, 93.7% sy,  0.0% ni,  0.0% id,  0.0% wa,  0.0% hi,  0.0% si
Mem:    970248k total,   948792k used,    21456k free,    51976k buffers
Swap:  4088500k total,      164k used,  4088336k free,   775084k cached
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
26178 root      18   0 18724 7828 4680 S 99.7  0.8 787:40.38 asterisk  

What’s wrong?

Is it possible to see per-module CPU usage within the Asterisk?
Thanks!

Does this happen all of the time or only after making a call or some other call related activity?

As I sad initially - without any calls or activity.

No activity at all, just 1 SIP phone and 2 provider’s trunks registered.

If you reboot does this occur immediately? Are you using any G.729 licenses?

I’ve restarted the Asterics and problem is gone. It seems it was caused by really large number of ‘module reload’.

Anyway, it will be good to know how to check per-module cpu utilization within the Asterisk. Is it possible?

I have the same problem and I need to restart the asterisk service by crontab.
is there a way to solve this problem ???
after restarting the asterisk service every thing is fine till next 3 day