[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:32:07 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 09:32 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 ...
====================================================================== 

---------------------------------------------------------------------- 
 (0120686) pabelanger (manager) - 2010-04-21 09:32
 https://issues.asterisk.org/view.php?id=17217#c120686 
---------------------------------------------------------------------- 
This should already be fixed, try 1.6.2.7-rc2. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-04-21 09:32 pabelanger     Note Added: 0120686                          
======================================================================




More information about the asterisk-bugs mailing list