[asterisk-bugs] [Asterisk 0016784]: [patch] 99.9 cpu when asterisk started with init.d script

Asterisk Bug Tracker noreply at bugs.digium.com
Mon Mar 8 12:08:46 CST 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16784 
====================================================================== 
Reported By:                pabelanger
Assigned To:                lmadsen
====================================================================== 
Project:                    Asterisk
Issue ID:                   16784
Category:                   Core/General
Reproducibility:            always
Severity:                   major
Priority:                   normal
Status:                     closed
Asterisk Version:           1.4.29 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-06 16:40 CST
Last Modified:              2010-03-08 12:08 CST
====================================================================== 
Summary:                    [patch] 99.9 cpu when asterisk started with init.d
script
Description: 
Odd issue, starting asterisk from /etc/init.d/asterisk (under Ubuntu 8.04)
causes asterisk to consume 100% cpu.  If you start it asterisk from the
CLI, there is no issue.
======================================================================
Relationships       ID      Summary
----------------------------------------------------------------------
has duplicate       0016887 /etc/init.d/asterisk.debian consumes 10...
====================================================================== 

---------------------------------------------------------------------- 
 (0119127) svnbot (reporter) - 2010-03-08 12:08
 https://issues.asterisk.org/view.php?id=16784#c119127 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 251310

_U  trunk/
U   trunk/contrib/init.d/rc.debian.asterisk

------------------------------------------------------------------------
r251310 | lmadsen | 2010-03-08 12:08:45 -0600 (Mon, 08 Mar 2010) | 21
lines

Merged revisions 251309 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r251309 | lmadsen | 2010-03-08 12:07:44 -0600 (Mon, 08 Mar 2010) | 13
lines
  
  Fix Debian init script to not use -c.
  When using the init script as-is currently, it could cause issues on
Debian
  such as high CPU usage. This fix has worked for several people so I'm
  implementing the change.
  
  
  (closes issue https://issues.asterisk.org/view.php?id=16784)
  Reported by: pabelanger
  Tested by: pabelanger, mnick, davidw, mutineer612
  
  (closes issue https://issues.asterisk.org/view.php?id=16887)
  Reported by: jlpedrosa
  Tested by: jlpedrosa, mutineer612
........

------------------------------------------------------------------------

http://svn.digium.com/view/asterisk?view=rev&revision=251310 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-03-08 12:08 svnbot         Checkin                                      
2010-03-08 12:08 svnbot         Note Added: 0119127                          
======================================================================




More information about the asterisk-bugs mailing list