[Freeswitch-users] Many CS_REPORTING state Zombie session

Anthony Minessale anthony.minessale at gmail.com
Sat Oct 31 14:26:09 PDT 2009


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 at 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 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
>
> _______________________________________________
> 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
>



-- 
Anthony Minessale II

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

AIM: anthm
MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com>
GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
IRC: irc.freenode.net #freeswitch

FreeSWITCH Developer Conference
sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org>
iax:guest at conference.freeswitch.org/888
googletalk:conf+888 at conference.freeswitch.org<googletalk%3Aconf%2B888 at conference.freeswitch.org>
pstn:213-799-1400
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20091031/dff0ce2a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list