[asterisk-bugs] [Asterisk 0015609]: [patch] WARNING[23025]: channel.c:952 __ast_queue_frame: Exceptionally long voice queue length queuing to Local
Asterisk Bug Tracker
noreply at bugs.digium.com
Wed Nov 25 15:42:13 CST 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=15609
======================================================================
Reported By: aragon
Assigned To: russell
======================================================================
Project: Asterisk
Issue ID: 15609
Category: Core/Channels
Reproducibility: have not tried
Severity: block
Priority: normal
Status: confirmed
Target Version: 1.4.28
Asterisk Version: SVN
JIRA: SWP-205
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): 1.4
SVN Revision (number only!): 206273
Request Review:
======================================================================
Date Submitted: 2009-07-29 09:26 CDT
Last Modified: 2009-11-25 15:42 CST
======================================================================
Summary: [patch] WARNING[23025]: channel.c:952
__ast_queue_frame: Exceptionally long voice queue length queuing to Local
Description:
Since upgrading to 1.4 SVN 206273 I see LOTS these errors when paging or
when calls are processed by app_queue. When I see the messages during a
page I don't hear any paging (my Polycom phones continue to ring but no
paging audio).
I have no idea where the message is coming from how to reproduce, or
collect debug information for this specific issue. I need help to find
root cause.
I think it could be caused by locking in autoservice since I see this lock
every time I see the warning message
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 3057154960 (autoservice_run started at [ 238]
autoservice.c ast_autoservice_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0
(autoservice.c): MUTEX 89 autoservice_run
&(&aslist)->lock 0x81798c8 (1)
=== --- ---> Locked Here: autoservice.c line 89 (autoservice_run)
=== -------------------------------------------------------------------
======================================================================
Relationships ID Summary
----------------------------------------------------------------------
duplicate of 0015976 abort in filestream_destructor / ast_fi...
related to 0015109 [patch] Abort by memory allocator, poss...
has duplicate 0015900 Console flood & CPU load 100% when ...
has duplicate 0016096 Exceptionally long voice queue length q...
related to 0015817 crash in local_attended_transfer, likel...
related to 0015845 Crash during attended transfer occurs
related to 0015616 random crashes
related to 0016229 ERROR[24164]: utils.c:966 ast_carefulwr...
related to 0016081 [patch] utils.c:938 ast_carefulwrite: T...
======================================================================
----------------------------------------------------------------------
(0114297) aragon (reporter) - 2009-11-25 15:42
https://issues.asterisk.org/view.php?id=15609#c114297
----------------------------------------------------------------------
Definitely related to https://issues.asterisk.org/view.php?id=16081
I can reproduce both issues with database show
The locking on db.c during database show lasts for over 7 seconds on
average and sometimes much longer. Database show for example generates both
ast_carefulwrite warning and exceptionally long voice queuing events. They
both spew so fast out of the CLI you can only see both sets of warnings in
/var/log/asterisk/messages
To reproduce on our busy system is now easy.
* CLI do
database show
core show locks
core show locks
fireworx*CLI>
=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: -1251673200 (netconsole started at [ 1036] asterisk.c
listener())
=== ---> Lock https://issues.asterisk.org/view.php?id=0 (db.c): MUTEX 325
database_show &dblock 0x8180300 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: -1252164720 (pbx_thread started at [ 2646] pbx.c
ast_pbx_start())
=== ---> Waiting for Lock https://issues.asterisk.org/view.php?id=0 (db.c):
MUTEX 178 ast_db_get &dblock
0x8180300 (1)
=== --- ---> Locked Here: db.c line 325 (database_show)
=== -------------------------------------------------------------------
===
=======================================================================
[Nov 20 15:42:50] NOTICE[4422]: utils.c:938 __ast_carefulwrite: Timed out
trying to write at line 73 of ast_cli in file cli.c
[Nov 20 15:42:50] NOTICE[4422]: utils.c:938 __ast_carefulwrite: Timed out
trying to write at line 73 of ast_cli in file cli.c
[Nov 20 15:42:50] NOTICE[4422]: utils.c:938 __ast_carefulwrite: Timed out
trying to write at line 73 of ast_cli in file cli.c
Issue History
Date Modified Username Field Change
======================================================================
2009-11-25 15:42 aragon Note Added: 0114297
======================================================================
More information about the asterisk-bugs
mailing list