[Home]

Summary:ASTERISK-16552: Process use of 100%
Reporter:Vitaliy Vitaliy (vetal)Labels:
Date Opened:2010-08-11 10:24:29Date Closed:2015-02-26 09:26:24.000-0600
Priority:MinorRegression?No
Status:Closed/CompleteComponents:Channels/chan_iax2
Versions:Frequency of
Occurrence
Related
Issues:
Environment:Attachments:( 0) asterisk_issue.txt
( 1) backtrace.txt
Description:core show lock
{noformat}
=======================================================================
=== Currently Held Locks ==============================================
=======================================================================
===
=== <file> <line num> <function> <lock name> <lock addr> (times locked)
===
=== Thread ID: 676339968 (sched_thread         started at [10594] chan_iax2.c st
art_network_thread())
=== ---> Waiting for Lock #0 (chan_iax2.c): MUTEX 1040 find_idle_thread &(&dynam
ic_list)->lock 0x28ccbcc8 (1)
=== --- ---> Locked Here: chan_iax2.c line 10079 (iax2_process_thread)
=== -------------------------------------------------------------------
===
=== Thread ID: 676340224 (network_thread       started at [10595] chan_iax2.c st
art_network_thread())
=== ---> Waiting for Lock #0 (chan_iax2.c): MUTEX 1040 find_idle_thread &(&dynam
ic_list)->lock 0x28ccbcc8 (1)
=== --- ---> Locked Here: chan_iax2.c line 10079 (iax2_process_thread)
=== -------------------------------------------------------------------
===
=== Thread ID: 683370240 (iax2_process_thread  started at [ 1052] chan_iax2.c fi
nd_idle_thread())
=== ---> Lock #0 (chan_iax2.c): MUTEX 10079 iax2_process_thread &(&dynamic_list)
->lock 0x28ccbcc8 (1)
=== -------------------------------------------------------------------
===
=== Thread ID: 677456640 (iax2_process_thread  started at [ 1052] chan_iax2.c fi
nd_idle_thread())
=== ---> Waiting for Lock #0 (chan_iax2.c): MUTEX 9995 iax2_process_thread &thre
ad->lock 0x2a72d094 (1)
=== --- ---> Locked Here: chan_iax2.c line 9995 (iax2_process_thread)
=== ---> Waiting for Lock #1 (chan_iax2.c): MUTEX 10002 iax2_process_thread &(&d
ynamic_list)->lock 0x28ccbcc8 (1)
=== --- ---> Locked Here: chan_iax2.c line 10079 (iax2_process_thread)
=== -------------------------------------------------------------------
{noformat}

helps only aterisk full restart.
module unload chan_iax2.so - hang the asterisk process, only killall -9 asterisk helps

****** ADDITIONAL INFORMATION ******

OS: FreeBSD 7.0-RELEASE
Comments:By: Tilghman Lesher (tilghman) 2010-08-11 10:37:34

Please upload the FULL output of 'core show locks' as a separate file, not embedded in a note.

By: Vitaliy Vitaliy (vetal) 2010-08-11 10:43:55

done

By: Leif Madsen (lmadsen) 2010-08-12 09:00:13

It may also be useful to attach a backtrace when this happens.

By: Leif Madsen (lmadsen) 2010-08-12 15:13:20

BTW: Russell wants a backtrace, so yes, that will be required.

By: Leif Madsen (lmadsen) 2010-08-12 15:13:58

Oh btw, Russell wants this run specifically:


gdb> thread apply all bt

By: Vitaliy Vitaliy (vetal) 2010-08-16 03:06:31

problem came one more time, and i made a backtrace and attache it, please look at.
thanx

By: Vitaliy Vitaliy (vetal) 2010-08-30 09:12:22

Please help, 2 times a week i have this problem

By: Tilghman Lesher (tilghman) 2010-08-30 11:23:03

Your issue is in queue, please be patient, and we will get to it as time permits and developer resources become available.

By: Vitaliy Vitaliy (vetal) 2010-09-24 08:18:38

is there some news about my issue, thanx

By: Leif Madsen (lmadsen) 2010-10-04 12:09:28

Your issue is in queue, please be patient, and we will get to it as time permits and developer resources become available.

By: Vitaliy Vitaliy (vetal) 2010-10-22 02:22:59

Hello, yestoday upgrade to asterisk 1.6.2.13
Today I receive the save proplem. CPU 100%. and core show locks the same

By: Matt Jordan (mjordan) 2015-02-26 09:26:17.413-0600

Per the Asterisk versions page [1], the maintenance (bug fix) support for the Asterisk branch you are using has ended. For continued maintenance support please move to a supported branch of Asterisk. After testing with a supported branch, if you find this problem has not been resolved, please open a new issue against the latest version of that Asterisk branch.

Thanks!

[1] https://wiki.asterisk.org/wiki/display/AST/Asterisk+Versions