<a href="http://jira.freeswitch.org/browse/FS-3157">http://jira.freeswitch.org/browse/FS-3157</a><br><br><div class="gmail_quote">2011/3/16 Anthony Minessale <span dir="ltr"><<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>></span><br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">can you also get some console traces on debug level of the traffic<br>
happening on the box.<br>
<div><div class="h5"><br>
<br>
On Wed, Mar 16, 2011 at 12:55 PM, Anthony Minessale<br>
<<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>> wrote:<br>
> yes you probably found a use case where the rwlock is not released<br>
> Can you open a JIRA and upload a gcore of the box when it's in the stuck state.<br>
><br>
><br>
> On Wed, Mar 16, 2011 at 3:15 AM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
>> I missed I'm using mod_hash for mod_hash_limit, calling<br>
>> execute("limit","hash $realm $key")<br>
>> and<br>
>> api("limit_usage","hash $realm $key")<br>
>> from perl ESL. And there are messages on FS shutdown (from hash_limit<br>
>> cleanup task?)<br>
>> Maybe using mod_hash_limit affect channel destroy sequence in some way?<br>
>> hash_dump shows nothing after channel hangup, but channel which was hungup<br>
>> first stays in channel list forever :(<br>
>> 2011-03-16 11:12:07.454839 [ERR] switch_loadable_module.c:489 Giving up on<br>
>> 'sofia' waiting for existing references.<br>
>><br>
>> 2011-03-16 11:12:07.944692 [CRIT] sofia.c:1646 Waiting for 2 session(s)<br>
>> 2011-03-16 11:12:08.944692 [CRIT] sofia.c:1646 Waiting for 2 session(s)<br>
>> 2011-03-16 11:12:09.944693 [CRIT] sofia.c:1646 Waiting for 2 session(s)<br>
>> 2011-03-16 11:12:10.944678 [CRIT] sofia.c:1646 Waiting for 2 session(s)<br>
>><br>
>><br>
>><br>
>> 2011/3/12 Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
>>><br>
>>> this sounds odd,<br>
>>> are you on the latest GIT build?<br>
>>><br>
>>> try doing a gcore on the box when its like that and run gdb on it and<br>
>>> do thread apply all bt<br>
>>><br>
>>><br>
>>> On Fri, Mar 11, 2011 at 3:38 PM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>> wrote:<br>
>>> > I use cdr_xml only. If the call fails before entering ESL script, seems<br>
>>> > there are no stuck records, but they appear after some actions in ESL<br>
>>> > even<br>
>>> > if there was no bridge attempt.<br>
>>> ><br>
>>> > 2011/3/11 Anthony Minessale <<a href="mailto:anthony.minessale@gmail.com">anthony.minessale@gmail.com</a>><br>
>>> >><br>
>>> >> that looks like they are all stuck in the CDR module.<br>
>>> >> What module are you using?<br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> On Fri, Mar 11, 2011 at 5:58 AM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>><br>
>>> >> wrote:<br>
>>> >> > I think this is not the case, but anyway, what to do with these hung<br>
>>> >> > channels?<br>
>>> >> > Maybe I'm doing something wrong while bridging or processing events?<br>
>>> >> > Maybe<br>
>>> >> > unprocessed events can affect channel destroy procedure?<br>
>>> >> > 2011/3/11 Avi Marcus <<a href="mailto:avi@avimarcus.net">avi@avimarcus.net</a>><br>
>>> >> >><br>
>>> >> >> Regarding ram usage, I'd imagine this is the case:<br>
>>> >> >> <a href="http://www.linuxatemyram.com/" target="_blank">http://www.linuxatemyram.com/</a><br>
>>> >> >> -Avi<br>
>>> >> >><br>
>>> >> >> On Fri, Mar 11, 2011 at 12:33 PM, Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>><br>
>>> >> >> wrote:<br>
>>> >> >>><br>
>>> >> >>> BTW, uuid_dumpĀ 7ae28028-4bc2-11e0-a92f-452f3d3d66ea returns with<br>
>>> >> >>> -ERR<br>
>>> >> >>> No<br>
>>> >> >>> such channel.<br>
>>> >> >>><br>
>>> >> >>> 2011/3/11 Dmitry Sytchev <<a href="mailto:kbdfck@gmail.com">kbdfck@gmail.com</a>><br>
>>> >> >>>><br>
>>> >> >>>> Hi All<br>
>>> >> >>>> I'm using Perl ESL outbound script to bridge incoming call to sip<br>
>>> >> >>>> endpoint. I'm doing execute("bridge","sofia/user/somebody"), then<br>
>>> >> >>>> processing<br>
>>> >> >>>> events like CHANNEL_HANGUP and EXECUTE_COMPLETE to determine<br>
>>> >> >>>> bridge<br>
>>> >> >>>> result.<br>
>>> >> >>>> Everything works fine, but original incoming call channel is never<br>
>>> >> >>>> removed<br>
>>> >> >>>> from list:<br>
>>> >> >>>> After few calls I see original incoming channels in 'show<br>
>>> >> >>>> channels'<br>
>>> >> >>>> output:<br>
>>> >> >>>> 7ae28028-4bc2-11e0-a92f-452f3d3d66ea,inbound,2011-03-11<br>
>>> >> >>>><br>
>>> >> >>>><br>
>>> >> >>>> 12:32:27,1299835947,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,,<br>
>>> >> >>>> 883c9eb6-4bc2-11e0-a935-452f3d3d66ea,inbound,2011-03-11<br>
>>> >> >>>><br>
>>> >> >>>><br>
>>> >> >>>> 12:32:50,1299835970,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,,<br>
>>> >> >>>> 9f6a0f92-4bc2-11e0-a93b-452f3d3d66ea,inbound,2011-03-11<br>
>>> >> >>>><br>
>>> >> >>>><br>
>>> >> >>>> 12:33:29,1299836009,sofia/external/xxxx@85.x.x.199,CS_REPORTING,622xxxx,622xxxx,85.114.x.x,622xxxx,hangup,USER_BUSY,XML,route_in,,,,,,,,<a href="http://xxx.xxx.ru" target="_blank">xxx.xxx.ru</a>,,,HANGUP,,,<br>
>>> >> >>>> Also, when I try to stop freeswitch i see these messages on<br>
>>> >> >>>> console:<br>
>>> >> >>>> 2011-03-11 15:28:22.517063 [CRIT] sofia.c:1632 Waiting for 13<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:22.701034 [CRIT] sofia.c:1632 Waiting for 3<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:23.517064 [CRIT] sofia.c:1632 Waiting for 13<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:23.701033 [CRIT] sofia.c:1632 Waiting for 3<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:24.517062 [CRIT] sofia.c:1632 Waiting for 13<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:24.705036 [CRIT] sofia.c:1632 Waiting for 3<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:25.517064 [CRIT] sofia.c:1632 Waiting for 13<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:25.709031 [CRIT] sofia.c:1632 Waiting for 3<br>
>>> >> >>>> session(s)<br>
>>> >> >>>> 2011-03-11 15:28:26.517065 [CRIT] sofia.c:1632 Waiting for 13<br>
>>> >> >>>> session(s)<br>
>>> >> >>>><br>
>>> >> >>>> Why these channels are not removed from list? I also noticed that<br>
>>> >> >>>> memory<br>
>>> >> >>>> consumption by freeswitch process constantly grows call by call.<br>
>>> >> >>>><br>
>>> >> >>>> --<br>
>>> >> >>>> Best regards,<br>
>>> >> >>>><br>
>>> >> >>>> Dmitry Sytchev,<br>
>>> >> >>>> IT Engineer<br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>> --<br>
>>> >> >>> Best regards,<br>
>>> >> >>><br>
>>> >> >>> Dmitry Sytchev,<br>
>>> >> >>> IT Engineer<br>
>>> >> >>><br>
>>> >> >>> _______________________________________________<br>
>>> >> >>> FreeSWITCH-users mailing list<br>
>>> >> >>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> >>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> >>><br>
>>> >> >>><br>
>>> >> >>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> >>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> >>><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> _______________________________________________<br>
>>> >> >> FreeSWITCH-users mailing list<br>
>>> >> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> >><br>
>>> >> >><br>
>>> >> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> >><br>
>>> >> ><br>
>>> >> ><br>
>>> >> ><br>
>>> >> > --<br>
>>> >> > Best regards,<br>
>>> >> ><br>
>>> >> > Dmitry Sytchev,<br>
>>> >> > IT Engineer<br>
>>> >> ><br>
>>> >> > _______________________________________________<br>
>>> >> > FreeSWITCH-users mailing list<br>
>>> >> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> ><br>
>>> >> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >> ><br>
>>> >> ><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> --<br>
>>> >> Anthony Minessale II<br>
>>> >><br>
>>> >> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>>> >> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>>> >> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>>> >><br>
>>> >> AIM: anthm<br>
>>> >> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>>> >> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>>> >> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>>> >><br>
>>> >> FreeSWITCH Developer Conference<br>
>>> >> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>>> >> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>>> >> pstn:+19193869900<br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> FreeSWITCH-users mailing list<br>
>>> >> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >><br>
>>> >> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Best regards,<br>
>>> ><br>
>>> > Dmitry Sytchev,<br>
>>> > IT Engineer<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > FreeSWITCH-users mailing list<br>
>>> > <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> > UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>> ><br>
>>><br>
>>><br>
>>><br>
>>> --<br>
>>> Anthony Minessale II<br>
>>><br>
>>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>>> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
>>><br>
>>> AIM: anthm<br>
>>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
>>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>>><br>
>>> FreeSWITCH Developer Conference<br>
>>> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
>>> pstn:+19193869900<br>
>>><br>
>>> _______________________________________________<br>
>>> FreeSWITCH-users mailing list<br>
>>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
>><br>
>> --<br>
>> Best regards,<br>
>><br>
>> Dmitry Sytchev,<br>
>> IT Engineer<br>
>><br>
>> _______________________________________________<br>
>> FreeSWITCH-users mailing list<br>
>> <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
><br>
><br>
> --<br>
> Anthony Minessale II<br>
><br>
> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
> Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
><br>
> AIM: anthm<br>
> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
><br>
> FreeSWITCH Developer Conference<br>
> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
> pstn:+19193869900<br>
><br>
<br>
<br>
<br>
</div></div>--<br>
<div><div class="h5">Anthony Minessale II<br>
<br>
FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
Twitter: <a href="http://twitter.com/FreeSWITCH_wire" target="_blank">http://twitter.com/FreeSWITCH_wire</a><br>
<br>
AIM: anthm<br>
<a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
<br>
FreeSWITCH Developer Conference<br>
<a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>
pstn:+19193869900<br>
<br>
_______________________________________________<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Best regards,<br><br>Dmitry Sytchev,<br>IT Engineer<br>