[Freeswitch-users] Many CS_REPORTING state Zombie session

Michael Giagnocavo mgg at giagnocavo.net
Sat Oct 31 13:00:52 PDT 2009


Which revision? Wasn't there some read-write lock issues on sessions checked in during the last week?

FWIW, we do inline billing, but the message queue timeouts are very low. Upgrading to current SVN kills us (~15025 works fine) -- some channels stay in CS_EXECUTE, some in CS_REPORTING. We know it's not our code blocking, because there'd be transaction timeouts within 30 seconds, and these are hanging around for a long time.

I suspect it's something with how we do our originates and state handlers. If we _overwrite_ the default originate handlers AND patch originate to blank out dialplan/context after duplicating the caller profile, it works fine. If we "do the right thing" and let the default handler set CS_CONSUME_MEDIA, then we get the calls hanging around forever. As I said, I suspect this is mismatch in what FS does and what our app assumes it does.

-Michael

-----Original Message-----
From: freeswitch-users-bounces at lists.freeswitch.org [mailto:freeswitch-users-bounces at lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Saturday, October 31, 2009 1:28 PM
To: freeswitch-users at lists.freeswitch.org
Subject: Re: [Freeswitch-users] Many CS_REPORTING state Zombie session

Nothing jumps out at me on this one.

mod_cdr_csv and/or mod_xml_cdr should be fine.

On Sat, Oct 31, 2009 at 1:24 PM, Seven Du <dujinfang at gmail.com> wrote:
> I also got some zombie channels, if someone can help me take a look that's
> really nice.
>
> http://pastebin.freeswitch.org/10912
>
> I only loaded mod_cdr_csv
> Is it ok to use mod_xml_cdr?
>
> Thanks.
>
>
> 2009/11/1 Dome Charoenyost <dome at tel.co.th>
>>
>> I found bug in fscore_pb   $pwd should be $mypwd
>>
>> Now i post already. please help me check.
>>
>> Dome C.
>>
>>
>> 2009/11/1 João Mesquita <jmesquita at freeswitch.org>:
>> > No, mod_nibblebill definetely needs to be enhanced but it is not the
>> > problem
>> > and it can be used with high load traffic.
>> >
>> > The one I am not sure about is odbc_query since it was not developed for
>> > that.
>> >
>> > Do what Rupa said, please.
>> >
>> > Regards,
>> >
>> > JM
>> >
>> > On Sat, Oct 31, 2009 at 3:11 PM, Brian West <brian at freeswitch.org>
>> > wrote:
>> >>
>> >> I think once you get the backtrace like rupa said we can see that maybe
>> >> odbc_query is really hanging or something similar.
>> >> /b
>> >> On Oct 31, 2009, at 12:05 PM, Dome Charoenyost wrote:
>> >>
>> >> 2009/10/31 Brian West <brian at freeswitch.org>:
>> >>
>> >> You should never do billing inline with the session thread is all I'm
>> >>
>> >> saying.
>> >>
>> >> _______________________________________________
>> >> FreeSWITCH-users mailing list
>> >> FreeSWITCH-users at lists.freeswitch.org
>> >> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> >>
>> >> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> >> http://www.freeswitch.org
>> >>
>> >
>> >
>> > _______________________________________________
>> > FreeSWITCH-users mailing list
>> > FreeSWITCH-users at lists.freeswitch.org
>> > http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> > UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> > http://www.freeswitch.org
>> >
>> >
>>
>> _______________________________________________
>> FreeSWITCH-users mailing list
>> FreeSWITCH-users at lists.freeswitch.org
>> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
>> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
>> http://www.freeswitch.org
>
>
> _______________________________________________
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>



-- 
-Rupa

_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users at lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org




More information about the FreeSWITCH-users mailing list