[asterisk-bugs] [Asterisk 0016887]: /etc/init.d/asterisk.debian consumes 100% CPU

Asterisk Bug Tracker noreply at bugs.digium.com
Tue Feb 23 09:50:27 CST 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16887 
====================================================================== 
Reported By:                jlpedrosa
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16887
Category:                   General
Reproducibility:            have not tried
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.2 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-23 09:50 CST
Last Modified:              2010-02-23 09:50 CST
====================================================================== 
Summary:                    /etc/init.d/asterisk.debian consumes 100% CPU
Description: 
Hi all

An erroneous line in /etc/init.d/asterisk.debian makes the start script
consume one core:  the start-stop-deamon command line if $COLOR=yes  sends
the -c option to asterisk binary (give me console) and as a serivce it
can't be done.
Result: asterisk working but consuming whole server.
 
these are the lines.

 if test "x$COLOR" = "xyes" ; then
                export TERM=linux
                start-stop-daemon --start --oknodo --background --exec
$DAEMON -- $ASTARGS -c
        else
                start-stop-daemon --start --oknodo --exec $DAEMON --
$ASTARGS
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-02-23 09:50 jlpedrosa      New Issue                                    
2010-02-23 09:50 jlpedrosa      Asterisk Version          => 1.6.2.2         
2010-02-23 09:50 jlpedrosa      Regression                => No              
2010-02-23 09:50 jlpedrosa      SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list