[asterisk-bugs] [Asterisk 0014384]: Background leaves files open indefinately

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 3 11:02:23 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
http://bugs.digium.com/view.php?id=14384 
====================================================================== 
Reported By:                fiddur
Assigned To:                putnopvut
====================================================================== 
Project:                    Asterisk
Issue ID:                   14384
Category:                   Core/PBX
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     assigned
Asterisk Version:           SVN 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): 1.6.0 
SVN Revision (number only!): 172742 
Request Review:              
====================================================================== 
Date Submitted:             2009-02-02 04:57 CST
Last Modified:              2009-02-03 11:02 CST
====================================================================== 
Summary:                    Background leaves files open indefinately
Description: 
After a Background(mysound) the sound file stays open, according to lsof.

This leads after a while to a total crippling of asterisk since it can't
open any socket, getting "Too many open files" or "Can't create alert
pipe!".
====================================================================== 

---------------------------------------------------------------------- 
 (0099350) fiddur (reporter) - 2009-02-03 11:02
 http://bugs.digium.com/view.php?id=14384#c99350 
---------------------------------------------------------------------- 
If anyone else is having this problem in a critical environment (yes, I
made too few tests before upgrading my production server...), the temporary
fix seems to be to raise number of allowed open files and restart asterisk
daily or so... I added this to /etc/init.d/asterisk:
        ulimit -Hn 100000
        ulimit -n 100000 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-02-03 11:02 fiddur         Note Added: 0099350                          
======================================================================




More information about the asterisk-bugs mailing list