[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 13:01:48 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:                     feedback
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 13:01 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.


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

---------------------------------------------------------------------- 
 (0105243) ernied (reporter) - 2009-05-21 13:01
 https://issues.asterisk.org/view.php?id=15172#c105243 
---------------------------------------------------------------------- 
There doesn't appear to be a "Compiler Options" in the make menuconfig
menu. Selecting "Compiler Flags" results in these options:

1.  DONT_OPTIMIZE
2.  DEBUG_CHANNEL_LOCKS
3.  DEBUG_THREADS
4.  LOW_MEMORY
5.  MALLOC_DEBUG
6.  RADIO_RELAX
7.  STATIC_BUILD
8.  IAX_OLD_FIND
9.  LOADABLE_MODULES

Perhaps I need to use a manual compiler flag? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-21 13:01 ernied         Note Added: 0105243                          
======================================================================




More information about the asterisk-bugs mailing list