[asterisk-bugs] [Asterisk 0010775]: Asterisk suddenly slows down, and eats 100% cpu
noreply at bugs.digium.com
noreply at bugs.digium.com
Fri Sep 21 08:37:32 CDT 2007
A NOTE has been added to this issue.
======================================================================
http://bugs.digium.com/view.php?id=10775
======================================================================
Reported By: atis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 10775
Category: Core-General
Reproducibility: random
Severity: major
Priority: normal
Status: new
Asterisk Version: 1.4.10
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!):
Disclaimer on File?: N/A
Request Review:
======================================================================
Date Submitted: 09-20-2007 16:36 CDT
Last Modified: 09-21-2007 08:37 CDT
======================================================================
Summary: Asterisk suddenly slows down, and eats 100% cpu
Description:
I'm running 1.4.10 (with reverted res_features from
http://bugs.digium.com/view.php?id=10415). Approximately
once or twice per week (restarted daily) asterisk suddenly starts acting
slowly, and eats 100% cpu. Call volume drops as it takes really long time
for customers to get to agents, but this doesn't improve situation in any
way.
Last week i recompiled with DONT_OPTIMIZE, DEBUG_THREADS and DEBUG_LOCKS,
so now i can attach debug output.
I killed asterisk with "killall -5 asterisk", so that core is dumped.
Attached files:
backtrace.txt - backtraces taken from core
report.txt - various information ("top", "core show threads", "core show
locks", "core show channels") right before i killed asterisk.
normal.txt - top, and channel count when under normal load (30 minutes
after kill)
cli.txt - multiple consecutive executions of "core show threads" and "core
show locks", when problem raised.
======================================================================
----------------------------------------------------------------------
atis - 09-21-07 08:37
----------------------------------------------------------------------
No, it is not. My logs are rotaded in night (4am), so that there aren't any
calls.
I looked into backtraces, and it seams to me that there is some problem
with some read()'s in main function of main thread. Could this be somehow
related to having safe_asterisk with default settings (TTY=9, console=yes).
I'm in doubt that something could have caused something to be written in
tty9, however a test of "cat /dev/random > /dev/tty9" slowed down asterisk
a little. I just disabled them, but will have to wait week or more to see
that nothing happens.
Issue History
Date Modified Username Field Change
======================================================================
09-21-07 08:37 atis Note Added: 0070908
======================================================================
More information about the asterisk-bugs
mailing list