[asterisk-bugs] [Asterisk 0015172]: Error rate for 'asterisk.c: Accept returned -1: Too many open files' is not throttled.

Asterisk Bug Tracker noreply at bugs.digium.com
Thu May 21 12:47:32 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=15172 
====================================================================== 
Reported By:                ernied
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   15172
Category:                   Core/General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     new
Asterisk Version:           1.4.23 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-05-21 11:30 CDT
Last Modified:              2009-05-21 12:47 CDT
====================================================================== 
Summary:                    Error rate for 'asterisk.c: Accept returned -1: Too
many open files' is not throttled.
Description: 
When Asterisk 1.4.23.1 runs out of available filehandles, the log file
grows out of control and fills the disk in a very short period of time.
When this error occurs, approximately 700-800 lines of logging are produced
each second. This jams the system and essentially crashes Asterisk. Unless
Asterisk crashes first as a result of this error message that is, but the
two events happen so closely together that it's impossible to tell.


====================================================================== 

---------------------------------------------------------------------- 
 (0105242) tilghman (administrator) - 2009-05-21 12:47
 https://issues.asterisk.org/view.php?id=15172#c105242 
---------------------------------------------------------------------- 
The proper response to this is not to throttle the error message, but to
figure out where the file descriptors are leaking.  Please 'make
menuselect', select compiler options and enable DEBUG_FD_LEAKS.  After 24
hours of running with DEBUG_FD_LEAKS, please run the CLI command "core show
fd" and upload the output into the file upload area of this issue. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-21 12:47 tilghman       Note Added: 0105242                          
======================================================================




More information about the asterisk-bugs mailing list