[asterisk-bugs] [Asterisk 0018816]: Asterisk Hangs/ CPU Usages goes up to 500%

Asterisk Bug Tracker noreply at bugs.digium.com
Thu Feb 17 10:10:01 CST 2011


A NOTE has been added to this issue. 
====================================================================== 
https://issues.asterisk.org/view.php?id=18816 
====================================================================== 
Reported By:                vois
Assigned To:                
====================================================================== 
Project:                    Asterisk
Issue ID:                   18816
Category:                   General
Reproducibility:            always
Severity:                   crash
Priority:                   normal
Status:                     feedback
Asterisk Version:           1.8.2.3 
JIRA:                        
Regression:                 No 
Reviewboard Link:            
SVN Branch (only for SVN checkouts, not tarball releases): N/A 
SVN Revision (number only!):  
Request Review:              
====================================================================== 
Date Submitted:             2011-02-15 11:09 CST
Last Modified:              2011-02-17 10:10 CST
====================================================================== 
Summary:                    Asterisk Hangs/ CPU Usages goes up to 500%
Description: 
Asterisk 1.8.2 goes down, i am unable to stop from CLI. i have to kill PID.
I enabled don't optimize and dead locks for tarce and now what i see is
asterisk is consuming 500% of CPU. Once CPU usage goes above 300%, asterisk
start losing peers, peer lags ( Peer 'peername' is now Lagged) and after
few mins peers come reachable (Peer 'peername' is now Reachable). I have
attached the core show locks and back trace when CPU usage was very
high(300% or more). Total 850 peers, 80% are TLS. I tired 1.8.2 and
1.8.2.3, getting same issues with both. 
Linux Dist: Ubuntu 2.6.32-21-server.
Linux VOIS8P 2.6.32-21-server https://issues.asterisk.org/view.php?id=32-Ubuntu
SMP Fri Apr 16 09:17:34 UTC 2010
x86_64 GNU/Linux

I have attached the core dead locks and backtrace. I same exactly same
server running asterisk 1.4.37 with 1500 peers. 
 
Thanks in advance.


====================================================================== 

---------------------------------------------------------------------- 
 (0132084) vois (reporter) - 2011-02-17 10:10
 https://issues.asterisk.org/view.php?id=18816#c132084 
---------------------------------------------------------------------- 
Hi,
  Today asterisk hanged after following error:

[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor
[Feb 17 08:59:04] ERROR[9184]: res_timing_timerfd.c:171 timerfd_timer_ack:
Read error: Bad file descriptor

Please suggest what should i do to over come this. I have already disabled
res_timing_pthread and removed it from  /usr/lib/asterisk/modules
directory. 

Thanks in advance 

Issue History 
Date Modified    Username       Field                    Change               
====================================================================== 
2011-02-17 10:10 vois           Note Added: 0132084                          
======================================================================




More information about the asterisk-bugs mailing list