[asterisk-bugs] [Asterisk 0017217]: 100% CPU load on debian when loading from initscript

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Apr 21 03:22:08 CDT 2010


The following issue has been SUBMITTED. 
====================================================================== 
https://issues.asterisk.org/view.php?id=17217 
====================================================================== 
Reported By:                Motiejus
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   17217
Category:                   Utilities/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     new
Asterisk Version:           1.6.2.6 
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-04-21 03:22 CDT
Last Modified:              2010-04-21 03:22 CDT
====================================================================== 
Summary:                    100% CPU load on debian when loading from initscript
Description: 
Starting via contrib/init.d/rc.debian.asterisk makes asterisk 100% CPU load
at once asterisk starts.

Line 85 here:
http://svnview.digium.com/svn/asterisk/tags/1.6.2.6/contrib/init.d/rc.debian.asterisk?revision=251866&view=markup

Loading manually from console
start-stop-daemon --start --oknodo --background --exec /usr/sbin/asterisk
-- -c
makes CPU 100%
however
start-stop-daemon --start --oknodo --background --exec /usr/sbin/asterisk
--
makes it normal.

Solution: remove -c at the end of line 85. I do not see much sence leaving
it there.
====================================================================== 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-21 03:22 Motiejus       New Issue                                    
2010-04-21 03:22 Motiejus       Asterisk Version          => 1.6.2.6         
2010-04-21 03:22 Motiejus       Regression                => No              
2010-04-21 03:22 Motiejus       SVN Branch (only for SVN checkouts, not tarball
releases) => N/A             
======================================================================




More information about the asterisk-bugs mailing list