[asterisk-bugs] [Asterisk 0016279]: [patch] asterisk reload causes mpg123 streams to be recreated

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Nov 30 17:19:03 CST 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16279 
====================================================================== 
Reported By:                parisioa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16279
Category:                   Resources/res_musiconhold
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     ready for testing
Asterisk Version:           1.6.1.10 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-11-18 18:14 CST
Last Modified:              2009-11-30 17:19 CST
====================================================================== 
Summary:                    [patch] asterisk reload causes mpg123 streams to be
recreated
Description: 
Every time there is an asterisk reload all of the mpg123 streams get
re-started, and the old ones do not get removed.  This causes many many
streams to build up over time, and after enough reloads with enough streams
actually causes asterisk to completely fail.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
related to          0016207 [patch] asterisk keeps starting new pro...
====================================================================== 

---------------------------------------------------------------------- 
 (0114435) parisioa (reporter) - 2009-11-30 17:19
 https://issues.asterisk.org/view.php?id=16279#c114435 
---------------------------------------------------------------------- 
no

csgtacsip1*CLI> moh show classes
Class: 80s*CLI>
csgtacsiMode: custom
csgtacsiDirectory: nodir
csgtacsiApplication: /usr/bin/mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
csgtacsiFormat: slin
Class: default>
csgtacsiMode: files
csgtacsiDirectory: /var/lib/asterisk/moh
csgtacsip1*CLI> exit
csgtacsip1:/etc/asterisk# ps aux | grep mpg123
root     32147  0.0  0.0   2736  1184 ?        S<   14:26   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32158  0.0  0.0   2736  1188 ?        S<   14:28   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32164  0.0  0.0   2736  1188 ?        S<   14:28   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32169 19.0  0.0   2736  1184 ?        S<   14:28   8:48 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32191  0.0  0.0   2736  1188 ?        S<   14:28   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32272  4.2  0.0   2736  1188 ?        S<   15:14   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32274  0.2  0.0   2736  1184 ?        S<   15:14   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32276  3.1  0.0   2736  1188 ?        S<   15:14   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32278  0.5  0.0   2736  1184 ?        S<   15:14   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32280  0.7  0.0   2736  1184 ?        S<   15:14   0:00 /usr/bin
mpg123 -q -s --mono -r 8000 -f 8192 -b 0
http://scfire-dtc-aa03.stream.aol.com:80/stream/1040
root     32282  0.0  0.0   3120   736 pts/0    S<+  15:14   0:00 grep
mpg123 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-11-30 17:19 parisioa       Note Added: 0114435                          
======================================================================




More information about the asterisk-bugs mailing list