Hi,

On Thu, Mar 10, 2011 at 11:28:07AM +0200, Nikolay Yatsyshyn wrote:

> Asterisk is hang randomly, taking 100% cpu on all cores. Asterisk is
> not respond on restart or kill -15, just kill -9 <pid>. Full log of
> asterisk is ending every time in different places on different
> applications. Cli is worked, established calls is ending normaly,
> new is waiting for something.

Asterisk is a multi-threaded application. 'top' shows by default
processes rather than threads. To break things down by threads, press
'H' (shift-h). Do you see a single thread taking 100% CPU? Or multiple
threads? A long-lived one? Many short-lived ones?

If a long-lived one, try attaching to it with strace (install that
package if it's not already installed):

  strace -p PID

where PID is the ID of the thread. Do you see it constantly running
something? Or just "waiting" (a 100% CPU loop in userspace)?

>
> For testing purposes hardware was changed, debian was reinstalled from
> scratch, saved just asterisk sip.conf, extensions.conf, queues.conf,
> features.conf.

Is the issue still reproducable?

-- 
               Tzafrir Cohen
icq#16849755              jabber:tzafrir.co...@xorcom.com
+972-50-7952406           mailto:tzafrir.co...@xorcom.com
http://www.xorcom.com  iax:gu...@local.xorcom.com/tzafrir



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to