[asterisk-bugs] [Asterisk 0018457]: [patch] moh reload leaks file descriptors to dahdi timing channel

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Jan 4 16:00:12 UTC 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18457 
====================================================================== 
Reported By:                mcallist
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18457
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.4.38 
JIRA:                       SWP-2744 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-12-10 15:17 CST
Last Modified:              2011-01-04 10:00 CST
====================================================================== 
Summary:                    [patch] moh reload leaks file descriptors to dahdi
timing channel
Description: 
Issuing an moh reload or even unload/load on res_musiconhold.so causes
DAHDI_FILE_PSEUDO to be opened, and the old reference to the open file to
be leaked.

This eventually can lead to exhaustion of the DAHDI channels and locking
out of meetme usage.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0018262 [patch] No MOH When Call Parked
====================================================================== 

---------------------------------------------------------------------- 
 (0130127) mcallist (reporter) - 2011-01-04 10:00
 https://issues.asterisk.org/view.php?id=18457#c130127 
---------------------------------------------------------------------- 
I've applied the patch to my lab build and have validated that moh reload
doesn't seem to be leaking descriptors any longer.  I plan some more tests
before rolling to production but so far so good.

Thanks! 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-04 10:00 mcallist       Note Added: 0130127                          
======================================================================




More information about the asterisk-bugs mailing list