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

Asterisk Bug Tracker noreply at bugs.digium.com
Wed Jun 9 12:24:56 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16784 
====================================================================== 
Reported By:                pabelanger
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   16784
Category:                   Core/General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     ready for testing
Target Version:             1.6.2.9
Asterisk Version:           SVN 
JIRA:                       SWP-1668 
Regression:                 Yes 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2010-02-06 16:40 CST
Last Modified:              2010-06-09 12:24 CDT
====================================================================== 
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...
has duplicate       0017217 100% CPU load on debian when loading fr...
====================================================================== 

---------------------------------------------------------------------- 
 (0123200) svnbot (reporter) - 2010-06-09 12:24
 https://issues.asterisk.org/view.php?id=16784#c123200 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 269334

U   branches/1.4/contrib/init.d/rc.debian.asterisk
U   branches/1.4/main/term.c

------------------------------------------------------------------------
r269334 | pabelanger | 2010-06-09 12:24:53 -0500 (Wed, 09 Jun 2010) | 12
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.  We now handle color displays properly.

(closes issue https://issues.asterisk.org/view.php?id=16784)
Reported by: pabelanger
Patches:
      20100530__issue16784__2.diff.txt uploaded by tilghman (license 14)
Tested by: pabelanger, tilghman

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

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

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2010-06-09 12:24 svnbot         Checkin                                      
2010-06-09 12:24 svnbot         Note Added: 0123200                          
======================================================================




More information about the asterisk-bugs mailing list