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

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


The following issue has been CLOSED 
====================================================================== 
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:                     closed
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:              
Resolution:                 open
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-04-21 03:22 CDT
Last Modified:              2010-04-21 09:40 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.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
duplicate of        0016784 [patch] 99.9 cpu when asterisk started ...
====================================================================== 

---------------------------------------------------------------------- 
 (0120687) pabelanger (manager) - 2010-04-21 09:40
 https://issues.asterisk.org/view.php?id=17217#c120687 
---------------------------------------------------------------------- 
Closing.  Feel free to reopen if you are still having problems. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-21 09:40 pabelanger     Note Added: 0120687                          
2010-04-21 09:40 pabelanger     Status                   new => closed       
======================================================================




More information about the asterisk-bugs mailing list