[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:24:46 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
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:24 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.
====================================================================== 

---------------------------------------------------------------------- 
 (0120676) Motiejus (reporter) - 2010-04-21 03:24
 https://issues.asterisk.org/view.php?id=17217#c120676 
---------------------------------------------------------------------- 
Debian version 5.0.4 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-21 03:24 Motiejus       Note Added: 0120676                          
======================================================================




More information about the asterisk-bugs mailing list