it something doing a read/write lock then not clearing it or its bad build and you have to rebuild clean.
the trace had no session threads present in it.
look in the code of any non-standard mods you are using for something that did either switch_ivr_originate or switch_core_session_locate and never called switch_core_session_rwunlock

#define SWITCH_DEBUG_RWLOCKS at the top of switch.h
and make clean ; make install to get rwlock debugging.


On Sat, Oct 31, 2009 at 3:00 PM, Michael Giagnocavo <mgg@giagnocavo.net> wrote:
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@lists.freeswitch.org [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Rupa Schomaker
Sent: Saturday, October 31, 2009 1:28 PM
To: freeswitch-users@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@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@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@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@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@freeswitch.org>:
>> >>
>> >> You should never do billing inline with the session thread is all I'm
>> >>
>> >> saying.
>> >>
>> >> _______________________________________________
>> >> 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
>> >> http://www.freeswitch.org
>> >>
>> >
>> >
>> > _______________________________________________
>> > 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
>> > http://www.freeswitch.org
>> >
>> >
>>
>> _______________________________________________
>> 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
>> http://www.freeswitch.org
>
>
> _______________________________________________
> 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
> http://www.freeswitch.org
>
>



--
-Rupa

_______________________________________________
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
http://www.freeswitch.org

_______________________________________________
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
http://www.freeswitch.org



--
Anthony Minessale II

FreeSWITCH http://www.freeswitch.org/
ClueCon http://www.cluecon.com/
Twitter: http://twitter.com/FreeSWITCH_wire

AIM: anthm
MSN:anthony_minessale@hotmail.com
GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888@conference.freeswitch.org
iax:guest@conference.freeswitch.org/888
googletalk:conf+888@conference.freeswitch.org
pstn:213-799-1400