[asterisk-bugs] [Asterisk 0018615]: Format list should be copied before being iterated in ast_filehelper

Asterisk Bug Tracker noreply at bugs.digium.com
Sat Jan 29 17:22:21 CST 2011


The following issue requires your FEEDBACK. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18615 
====================================================================== 
Reported By:                heath1444
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18615
Category:                   Core/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.6.2.15 
JIRA:                       SWP-2908 
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-01-13 14:55 CST
Last Modified:              2011-01-29 17:22 CST
====================================================================== 
Summary:                    Format list should be copied before being iterated
in ast_filehelper
Description: 
If the disk is slow for whatever reason you get resource starvation if too
many threads are making calls to this function because the list is locked
the entire time.

It's bad enough for me that I'm going to have to put all the files in
/var/lib/asterisk/sounds/en/ on a ramdisk.

Thanks for looking!

Heath
====================================================================== 

---------------------------------------------------------------------- 
 (0131228) seanbright (manager) - 2011-01-29 17:22
 https://issues.asterisk.org/view.php?id=18615#c131228 
---------------------------------------------------------------------- 
It's just a read lock, not an exclusive lock.  You can have as many readers
in that section as you wish, or am I missing something obvious? 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-01-29 17:22 seanbright     Note Added: 0131228                          
2011-01-29 17:22 seanbright     Status                   acknowledged =>
feedback
======================================================================




More information about the asterisk-bugs mailing list