i found how to use the debug tools

i saw lot of sessions with the same locked trace as in this paste below.

any idea why it happens?

https://pastebin.com/YZRdmeAQ

#0 0x00002afdf6c5f54d in __lll_lock_wait () from /usr/lib64/libpthread.so.0
#1 0x00002afdf6c5aeb6 in _L_lock_941 () from /usr/lib64/libpthread.so.0
#2 0x00002afdf6c5adaf in pthread_mutex_lock () from /usr/lib64/libpthread.so.0
#3 0x00002afdf358c5ff in apr_thread_mutex_lock () from /usr/lib64/libfreeswitch.so.1
#4 0x00002afdf3221bb2 in switch_mutex_lock (lock=0x38a9cae8) at src/switch_apr.c:301
#5 0x00002afe1001c7da in conference_member_add (nce=0x38a9c108, member=0x2afe4f326f40) at conference_member.c:732

‫בתאריך יום א׳, 20 בפבר׳ 2022 ב-20:08 מאת אריה קלטר <‪aryeklt@gmail.com‬‏>:‬
just update
it happened again one day after the last post, 2022-02-16
but it stucked only on one specific conference, on other conferences it is working as expected.
any idea what to search for?

i enabled sofia debug, here is the logs.

working - https://pastebin.com/eJDRmfyq
not working - https://pastebin.com/YT3dFUi3

You can see that in the not working the sipp trying again and again to send BYE, while in the working conference we receive the hangup after the first BYE try.

Any idea?

Regards,
Arye

‫בתאריך יום ג׳, 15 בפבר׳ 2022 ב-11:31 מאת אריה קלטר <‪aryeklt@gmail.com‬‏>:‬
Freeswitch version 1.10.7-release~64bit on centos 7 server
The load is something around 200 - 800 sessions in conference


‫בתאריך יום ג׳, 15 בפבר׳ 2022 ב-11:19 מאת ‪Brian :‬‏ <‪brians@iptel.co‬‏>:‬
What version of freeswitch and OS?

What type of load?

On Monday, February 14, 2022, אריה קלטר <aryeklt@gmail.com> wrote:
> Hello group
>
> I have problem with one of our servers, that sometimes it starting to stuck, on all new calls the last log line is "push codec L16:100" and nothing helps to end the call, no response to bye from the calling server, no response to sip info and even no response to hupall, the only thing that solves the problem is restart the freeswitch itself.
> It happened two times.
> Any idea what is going on?
> Example from one of the calls?
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [NOTICE] mod_dptools.c:1419 Channel [sofia/external/<NUMBER>@<IP>] has been answered
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] switch_channel.c:3950 (sofia/external/ <NUMBER>@<IP> ) Callstate Change EARLY -> ACTIVE
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] sofia.c:7499 Channel sofia/external/ <NUMBER>@<IP> entering state [completed][200]
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] switch_ivr.c:632 sofia/external/ <NUMBER>@<IP> Command Execute [depth=1]  conference(conf10@default+flags{})
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee EXECUTE [depth=1] sofia/external/ <NUMBER>@<IP> conference(conf10@default+flags{})
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] sofia.c:7499 Channel sofia/external/ <NUMBER>@<IP> entering state [ready][200]
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] conference_member.c:1794 Raw Codec Activation Success L16@8000hz 1 channel 20ms
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 08:42:36.832268 92.10% [DEBUG] conference_member.c:1841 Raw Codec Activation Success L16@8000hz 1 channel 20ms
> and the next line is
> fe4849de-cb96-4a4a-ad02-dc7485cc87ee 2022-02-14 18:15:31.312291 95.10% [NOTICE] switch_core_session.c:407 Hangup sofia/external/ <NUMBER>@<IP> [CS_EXECUTE] [MANAGER_REQUEST]
> because i did hupall, but the call is still there until restart of the freeswitch itself, even after the hupall.
> Regards,
> Arye
> _________________________________________________________________________

The FreeSWITCH project is sponsored by SignalWire https://signalwire.com
Enhance your FreeSWITCH install with disruptive priced SMS and PSTN services.
Build your next product on our scalable cloud platform.

Join our online community to chat in real time https://signalwire.community

Professional FreeSWITCH Services
sales@freeswitch.com
https://freeswitch.com

Official FreeSWITCH Sites
https://freeswitch.com/oss
https://freeswitch.org/confluence
https://cluecon.com

FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
https://freeswitch.com