[asterisk-users] Asterisk on Debian / Sparc taking up 95%+ CPU with No calls on the system

Tzafrir Cohen tzafrir.cohen at xorcom.com
Wed Jul 6 02:21:31 CDT 2011


On Tue, Jul 05, 2011 at 08:30:52PM -0400, A E [Gmail] wrote:
> hello people,
> 
> I am running v1.8.4.2 on debian squeeze on a sparc platform...and for some
> reason I have noticed that only after a few test calls, the asterisk process
> is running between 95% - 99.9% CPU when there's absolutely nothing on the
> system. This is a clean Asterisk system in an internal network with nothing
> else on it with no calls on it but it's still sitting with 96% CPU.
> 
> I'm not a developer so not that ept with using debug tools etc to figure out
> why it's doing that. Could anyone please tell me how I can figure out why
> it's doing this and/or help debug this. Makes no sense for it to be using
> CPU with nothing happening on the system

The first thing I'd do is run 'top', press shift H, and see what is/are
the offending thread(s).

Is it a single thread? Two? More?

Is it all "user" time? Much of it is "system" time?

If you strace the PID of the top thread (strace -p PID), what do you
see?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.cohen at xorcom.com
+972-50-7952406           mailto:tzafrir.cohen at xorcom.com
http://www.xorcom.com  iax:guest at local.xorcom.com/tzafrir



More information about the asterisk-users mailing list