[asterisk-users] Asterisk just stops working...

Steve Murphy murf at digium.com
Tue May 27 13:47:22 CDT 2008


On Tue, 2008-05-27 at 14:31 -0400, Nicolas Ross wrote:
> > On Tue, 27 May 2008 13:11:22 -0400, Nicolas Ross wrote
> >> Now, when my server begin not to respond, when I do a sip show peers, I 
> >> only
> >> see a subset of the users, and not the summary line. If I do other 
> >> commands
> >> like "core show channels", it simply shows nothing at all. Not even a "0
> >> active channels". Reload, or any other similar commands goes unansered. 
> >> The
> >> "core" works as it still answers calls on the PRI, but sip extensions 
> >> can't
> >> be reached, etc.
> >
> > I have had asterisk do this if its hanging on a DNS request.. you got any 
> > peers in there
> > using DNS?
> 
> I don,t beleive it's the case. I beleive asterisk would still answer to the 
> "core show channels" command if it were the case...

Not necessarily! If the channels are locked while the holdup occurred,
then, you won't be able to even look at them.

> 
> The clients (phones) are configured to register with a fqdn domain. The 
> peers are type=friend, host-dynamic.
> 
> I did change some changes to my dialplan so that I don't use queues and 
> agents anymore... We'll see if it happens again.
> 
> By the way, my asterisk doesn't crash, I don't have a core dump. And since 
> core show locks doesn't provide anything when I'm in that situation, how 
> could I contribute ?
> 

The best approach is compile it with debug options, (make menuselect),
set the compile to DEBUG on, then make clean, make, make install.

THen, fire up under the debugger. When you're all locked up, use ^C to
halt and leave the debugger in command, and do the "thread apply all bt"
thing. That should be revealing.

murf

> Thanks, 
> 
> 
> _______________________________________________
> -- Bandwidth and Colocation Provided by http://www.api-digital.com --
> 
> asterisk-users mailing list
> To UNSUBSCRIBE or update options visit:
>    http://lists.digium.com/mailman/listinfo/asterisk-users
-- 
Steve Murphy
Software Developer
Digium
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3227 bytes
Desc: not available
Url : http://lists.digium.com/pipermail/asterisk-users/attachments/20080527/7acd87a8/attachment.bin 


More information about the asterisk-users mailing list