[asterisk-bugs] [Asterisk 0018749]: [patch] Deadlock of SIP takes out server

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Feb 9 10:04:31 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18749 
====================================================================== 
Reported By:                jvanvleet
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18749
Category:                   Channels/chan_sip/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.2.3 
JIRA:                       SWP-3044 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-04 10:31 CST
Last Modified:              2011-02-09 10:04 CST
====================================================================== 
Summary:                    [patch] Deadlock of SIP takes out server
Description: 
This happens with both asterisk 1.8.0 and 1.8.2.3.  The server will take
calls for some amount of time (less than a day - within a few hours) can
all of the sudden will stop responding on the SIP.  I can see with a
netstat -na that many of the receive queues (including 5060) are full of
waiting packets.

I have compiled asterisk with DEBUG_THREADS and DONT_OPTIMIZE and was able
to do both a core show locks and a backtrace for two of the crashes.  

The majority of our calls are SRTP and also the majority use fastAGI if
that helps.

-James

======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018403 [patch] Deadlock on SIP blind transfer ...
====================================================================== 

---------------------------------------------------------------------- 
 (0131736) jvanvleet (reporter) - 2011-02-09 10:04
 https://issues.asterisk.org/view.php?id=18749#c131736 
---------------------------------------------------------------------- 
Looking around it appears asterisk didn't dump core either. I suspect from
reading I need to do a limit -c unlimited before it will?  

Let me know if you need me to make that change and get a back trace on the
core file.  I want to know first as I am dropping about 25-30 calls in
production each time it happens so I want them to count.

-James 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-09 10:04 jvanvleet      Note Added: 0131736                          
======================================================================




More information about the asterisk-bugs mailing list