[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:34:40 CDT 2010


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=16784 
====================================================================== 
Reported By:                pabelanger
Assigned To:                pabelanger
====================================================================== 
Project:                    Asterisk
Issue ID:                   16784
Category:                   Core/General
Reproducibility:            always
Severity:                   block
Priority:                   normal
Status:                     closed
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:              
Resolution:                 fixed
Fixed in Version:           
====================================================================== 
Date Submitted:             2010-02-06 16:40 CST
Last Modified:              2010-06-09 12:34 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...
====================================================================== 

---------------------------------------------------------------------- 
 (0123206) svnbot (reporter) - 2010-06-09 12:34
 https://issues.asterisk.org/view.php?id=16784#c123206 
---------------------------------------------------------------------- 
Repository: asterisk
Revision: 269347

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

------------------------------------------------------------------------
r269347 | pabelanger | 2010-06-09 12:34:38 -0500 (Wed, 09 Jun 2010) | 26
lines

Merged revisions 269346 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/trunk

................
  r269346 | pabelanger | 2010-06-09 13:32:52 -0400 (Wed, 09 Jun 2010) | 19
lines
  
  Merged revisions 269334 via svnmerge from 
  https://origsvn.digium.com/svn/asterisk/branches/1.4
  
  ........
    r269334 | pabelanger | 2010-06-09 13:24:53 -0400 (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=269347 

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




More information about the asterisk-bugs mailing list