[asterisk-bugs] [Asterisk 0016094]: iax2 show cache, locks channels.
Asterisk Bug Tracker
noreply at bugs.digium.com
Sun Oct 18 22:52:11 CDT 2009
A NOTE has been added to this issue.
======================================================================
https://issues.asterisk.org/view.php?id=16094
======================================================================
Reported By: alecdavis
Assigned To:
======================================================================
Project: Asterisk
Issue ID: 16094
Category: Channels/chan_iax2
Reproducibility: always
Severity: major
Priority: normal
Status: new
Asterisk Version: SVN
JIRA:
Regression: No
Reviewboard Link:
SVN Branch (only for SVN checkouts, not tarball releases): N/A
SVN Revision (number only!): 224448
Request Review:
======================================================================
Date Submitted: 2009-10-18 22:38 CDT
Last Modified: 2009-10-18 22:52 CDT
======================================================================
Summary: iax2 show cache, locks channels.
Description:
Executing 'iax2 show cache' lock iax.
On debian, /etc/init.d/asterisk restart fails to kill asterisk process.
This is repeatable on 1.6.1 lastest branch, and latest trunk.
DAHDI channels become unusable, SIP reports
"Oct 19 16:23:26] WARNING[23802]: chan_sip.c:6308 sip_write: Asked to
transmit frame type 64, while native formats is 0x8 (alaw)(8) read/write =
0x8 (alaw)(8)/0x8 (alaw)(8)
"
======================================================================
----------------------------------------------------------------------
(0112400) alecdavis (reporter) - 2009-10-18 22:52
https://issues.asterisk.org/view.php?id=16094#c112400
----------------------------------------------------------------------
Finally after a few more dial attempts across and IAX link: CHANUNAVAIL
-- Executing [8699 at trusted:1] Dial("SIP/GXP0001-08afcf00",
"IAX2/astridtest/8899,,r") in new stack
[Oct 19 16:34:56] WARNING[23808]: app_dial.c:1786 dial_exec_full: Unable
to create channel of type 'IAX2' (cause 20 - Unknown)
== Everyone is busy/congested at this time (1:0/0/1)
-- Auto fallthrough, channel 'SIP/GXP0001-08afcf00' status is
'CHANUNAVAIL'
Unable to Unload module:
test*CLI> module unload chan_iax2.so
Unable to unload resource chan_iax2.so
Command 'module unload chan_iax2.so ' failed.
[Oct 19 16:36:15] WARNING[23807]: loader.c:490 ast_unload_resource: Soft
unload failed, 'chan_iax2.so' has use count 1
test*CLI>
Peer is now UNREACHABLE:
test*CLI> iax2 show peers
Name/Username Host Mask Port
Status
astridtest/astr 192.168.5.253 (S) 255.255.255.255 4569 (T)
UNREACHABLE
1 iax2 peers [0 online, 1 offline, 0 unmonitored]
test*CLI>
test*CLI> iax2 show threads
IAX2 Thread Information
Idle Threads:
Active Threads:
Thread D26: state=2, update=1255923808, actions=1, func='socket_process'
Thread D25: state=2, update=1255923808, actions=1, func='socket_process'
Thread D24: state=2, update=1255923808, actions=1, func='socket_process'
Thread D23: state=2, update=1255923808, actions=1, func='socket_process'
Thread D22: state=2, update=1255923808, actions=1,
func='attempt_transmit'
Thread D21: state=2, update=1255923808, actions=1,
func='attempt_transmit'
Thread D20: state=2, update=1255923808, actions=1, func='socket_process'
Thread D19: state=2, update=1255923808, actions=1, func='socket_process'
Thread D18: state=2, update=1255923808, actions=1, func='socket_process'
Thread D17: state=2, update=1255923808, actions=1, func='socket_process'
Thread D16: state=2, update=1255923808, actions=1, func='socket_process'
Thread D15: state=2, update=1255923808, actions=1, func='socket_process'
Thread D14: state=2, update=1255923808, actions=1, func='socket_process'
Thread D13: state=2, update=1255923808, actions=1, func='socket_process'
Thread D12: state=2, update=1255923808, actions=1, func='socket_process'
Thread D11: state=2, update=1255923808, actions=1, func='socket_process'
Thread D10: state=2, update=1255923808, actions=1, func='socket_process'
Thread D9: state=2, update=1255923808, actions=1, func='socket_process'
Thread D8: state=2, update=1255923808, actions=1, func='socket_process'
Thread D7: state=2, update=1255923808, actions=1, func='socket_process'
Thread D6: state=2, update=1255923808, actions=1, func='socket_process'
Thread D5: state=2, update=1255923808, actions=1, func='socket_process'
Thread D4: state=2, update=1255923808, actions=1, func='socket_process'
Thread D3: state=2, update=1255923808, actions=1, func='socket_process'
Thread D2: state=2, update=1255923808, actions=1, func='socket_process'
Thread D1: state=2, update=1255923808, actions=1, func='socket_process'
Thread D0: state=2, update=1255923808, actions=1, func='socket_process'
Thread P1: state=2, update=18, actions=15, func='socket_process'
Thread P2: state=2, update=19, actions=15, func='socket_process'
Thread P7: state=2, update=19, actions=14, func='socket_process'
Thread P8: state=2, update=3, actions=14, func='socket_process'
Thread P6: state=2, update=3, actions=15, func='socket_process'
Thread P9: state=2, update=3, actions=15, func='socket_process'
Thread P4: state=2, update=3, actions=15, func='socket_process'
Thread P5: state=2, update=18, actions=15, func='socket_process'
Thread P3: state=2, update=18, actions=15, func='socket_process'
Thread P10: state=2, update=28, actions=14, func='socket_process'
Dynamic Threads:
37 of 10 threads accounted for with 0 dynamic threads
test*CLI>
Issue History
Date Modified Username Field Change
======================================================================
2009-10-18 22:52 alecdavis Note Added: 0112400
======================================================================
More information about the asterisk-bugs
mailing list