[asterisk-bugs] [Asterisk 0018842]: random deadlocks - SIP messages not being processed

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 24 04:58:28 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18842 
====================================================================== 
Reported By:                usinternet
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18842
Category:                   PBX/General
Reproducibility:            random
Severity:                   major
Priority:                   normal
Status:                     acknowledged
Asterisk Version:           1.8.2.3 
JIRA:                       SWP-3158 
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-18 15:28 CST
Last Modified:              2011-02-24 04:58 CST
====================================================================== 
Summary:                    random deadlocks - SIP messages not being processed
Description: 
Just upgraded to Asterisk 1.8.2 for production and we're getting random
deadlocks.  When this happens, it looks like Asterisk is not able to
process new SIP messages.  Any INVITEs or REGISTERs that arrive are not
being outputted to the console or logs.

This seems to happen randomly.  I have not been able to reproduce it at
will although it does happen about 5-10 times per day.  The server is
handling about 2000 calls/day, so it's not really that busy.  There are
about 75 phones connected to the server.

Please see attached backtrace and lock output for more information.  It
shows the deadlocks but I'm not sure which is the root issue here.
====================================================================== 

---------------------------------------------------------------------- 
 (0132342) damencho (reporter) - 2011-02-24 04:58
 https://issues.asterisk.org/view.php?id=18842#c132342 
---------------------------------------------------------------------- 
We've disabled cdr_mysql.so and again we had the lock today. 
I had to restart it to get it fixed.
The interesting was:

CLI> core show channels 
Channel              Location             State   Application(Data)       
     
0 active channels
1 active call

CLI> sip show channels
I had one channel in BYE

And when trying 
CLI> sip show channel + typing <tab> and the console locked.

Unfortunately I didn't manage to get backtrace and lock dumps cause we
moved back the asterisk installation on other machine. And this one was not
compiled with debug information. Will recompile now if happens again to
trace it. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-24 04:58 damencho       Note Added: 0132342                          
======================================================================




More information about the asterisk-bugs mailing list