[asterisk-bugs] [Asterisk 0010019]: Asterisk hang/stop working on console suspend

noreply at bugs.digium.com noreply at bugs.digium.com
Fri Apr 18 17:06:42 CDT 2008


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=10019 
====================================================================== 
Reported By:                darren1713
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   10019
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.4.4 
SVN Branch (only for SVN checkouts, not tarball releases): N/A  
SVN Revision (number only!):  
Disclaimer on File?:        Yes 
Request Review:              
====================================================================== 
Date Submitted:             06-20-2007 10:25 CDT
Last Modified:              04-18-2008 17:06 CDT
====================================================================== 
Summary:                    Asterisk hang/stop working on console suspend
Description: 
Reproduce problem:
1) Start screen "screen"
2) Start asterisk "asterisk -ggvvvvvvc"
3) Press Ctrl-A then Escape to suspend console

This doesn't sound like a big problem, but it is because this same
situation happens when you ssh into a box, loose the connection because of
internet failure, or whatever other reason.

After 5-10 minutes of asterisk trying to write to the suspended console,
everything hangs, nothing crashes, but asterisk stops making calls,
accepting calls, or doing any sort of processing.

My first evaluation of this is that there are blocking writes to the
console, and there are no checks to see if the file descriptor can write or
not.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0010010 Asterisk eating 100% CPU
====================================================================== 

---------------------------------------------------------------------- 
 darren1713 - 04-18-08 17:06  
---------------------------------------------------------------------- 
What version of 1.4 or what svn revision did the logger get split into a
seperate thread? I'm running 1.4.19 which still exhibits the problem. 

Issue History 
Date Modified   Username       Field                    Change               
====================================================================== 
04-18-08 17:06  darren1713     Note Added: 0085713                          
======================================================================




More information about the asterisk-bugs mailing list