[asterisk-bugs] [Asterisk 0014732]: Asterisk using 100% of cpu on 64 bit ubuntu

Asterisk Bug Tracker noreply at bugs.digium.com
Fri May 22 11:05:20 CDT 2009


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=14732 
====================================================================== 
Reported By:                hoolahoous
Assigned To:                dvossel
====================================================================== 
Project:                    Asterisk
Issue ID:                   14732
Category:                   Resources/General
Reproducibility:            always
Severity:                   minor
Priority:                   normal
Status:                     assigned
Asterisk Version:           1.4.24 
Regression:                 No 
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2009-03-23 23:31 CDT
Last Modified:              2009-05-22 11:05 CDT
====================================================================== 
Summary:                    Asterisk using 100% of cpu on 64 bit ubuntu
Description: 
I have installed asterisk 1.4.24 on ubuntu 8.10, 64 bit with SMP kernal

Linux XXXX 2.6.27-11-generic https://issues.asterisk.org/view.php?id=1 SMP Thu
Jan 29 19:28:32 UTC 2009 x86_64
GNU/Linux

My is SIP/IAX only solution so I do not load any hardware card drivers. I
do load dahdi_dummy.
When using asterisk 1.4.24, cpu usage is constantly around 100% with no
calls in progress. I can't see anything on CLI apart from usual
registrations. I then installed 1.4.22 with everything else same and cpu
usage is down to 0% when idle.
Everything else is same (same addons, same extensions and same trunks).

If there is any additional info is needed I can do that.
====================================================================== 

---------------------------------------------------------------------- 
 (0105310) dvossel (administrator) - 2009-05-22 11:05
 https://issues.asterisk.org/view.php?id=14732#c105310 
---------------------------------------------------------------------- 
Hey, I looked over this issue a bit and I'm not sure what is causing it. 
Based on the gdb output I do believe it involves IAX, but I can't tell what
it could be doing that consumes 100% cpu.

There are a few things you could look into that might provide us a clue. 
In the gdb output, the only active thread is the IAX network thread and it
seems to be reading packets.  I know you don't have any calls going, but
try a packet capture on UDP port 4569 (IAX's port) and see what you get. 
Some cli debug output may be useful as well.

If the issue is as simple as starting Asterisk to reproduce, the easiest
thing would be to provide access to the system so I could isolate what part
of the code is causing it.  Email me the information if you are able to do
this. 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2009-05-22 11:05 dvossel        Note Added: 0105310                          
======================================================================




More information about the asterisk-bugs mailing list