A E [Gmail]
2011-Jul-06 00:30 UTC
[asterisk-users] Asterisk on Debian / Sparc taking up 95%+ CPU with No calls on the system
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 Thanks -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.digium.com/pipermail/asterisk-users/attachments/20110705/e4b63397/attachment.htm>
Daniel - Asterisk
2011-Jul-06 04:00 UTC
[asterisk-users] Asterisk on Debian / Sparc taking up 95%+ CPU with No calls on the system
On the CLI write: sip show channels If there are lots of bye channels you have the same problem than me. I've tried waiting with the call generator -sipp- and channels finished when there are a few. But they're not ending faster enough when I send lots of concurrent calls. Elder 2011/7/5, A E [Gmail] <all.eforums at gmail.com>:> 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 > > Thanks >-- Enviado desde mi dispositivo m?vil
Tzafrir Cohen
2011-Jul-06 07:21 UTC
[asterisk-users] Asterisk on Debian / Sparc taking up 95%+ CPU with No calls on the system
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 systemThe 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