[Freeswitch-users] Sometimes "hanging" channels
steveayre at gmail.com
Wed Oct 10 12:03:53 UTC 2018
If you take a gcore it'll generate a core dump. You could then dig into it
with gdb to find the thread for that channel and see what lock it's waiting
However the gcore will pause the process for a while, so it will impact on
any other calls on that box.
Have you tried reproducing it on 1.8?
On Tue, 9 Oct 2018 at 20:36, Markus Bönke <mbodbg at gmx.net> wrote:
> Hello All,
> we are running freeswitch 1.6.20, calls are controlled via ESL, CDRs are
> written with mod_xml_cdrl. Sometimes we see „hanging“ channels. In such a
> case the CDR via mod_xml_cdr is written and the last log entry for such a
> call is "Locked, Waiting on external entities“.
> 2018-10-09 10:18:15.197345 [DEBUG] switch_core_state_machine.c:610 (
> sofia/internal/anonymous at anonymous.invalid) State Change CS_REPORTING ->
> 2018-10-09 10:18:15.197345 [DEBUG] switch_core_session.c:1665 Session
> 166111 (sofia/internal/anonymous at anonymous.invalid) Locked, Waiting on
> external entities
> How can I proceed to further analyze the problem ? In the last log line I
> also see the session number (Session 166111) - is there a way to find out
> on which external entity it is waiting?
> Thanks and regards
> Professional FreeSWITCH Services
> sales at freeswitch.com
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the FreeSWITCH-users