[Freeswitch-users] Freeswitch freezes on increasing call traffic

Anthony Minessale anthony.minessale at gmail.com
Thu Jan 29 08:31:19 PST 2009


When you get it in that state what do you see when you execute

fsctl sps

is the sps a very low number?

Did the sps drop by itself from the value you originally set it to?

Are you using 32 bit?

if so try all of these commands in your shell before starting FS

ulimit -c unlimited
ulimit -d unlimited
ulimit -f unlimited
ulimit -i unlimited
ulimit -n 999999
ulimit -q unlimited
ulimit -u unlimited
ulimit -v unlimited
ulimit -x unlimited
ulimit -s 244
ulimit -l unlimited


DO NOT put them in a script unless you source the script with .
. myscript or they will be undone instantly when the script exits

BTW, I said to try latest trunk not 1.0.2 We can only debug the development
code at this point.





On Thu, Jan 29, 2009 at 10:06 AM, shehzad p <pmhshz at gmail.com> wrote:

>
> Hi Anthony,
>
> I found interesting result while testing Freeswitch, and it might be cause
> of freezing out of freeswitch,
>
> I updated my system (as you told) with latest stable version Freeswitch
> 1.0.2
> First of all I set sps to 100,
> Then I sends call approximately 100 per seconds, Freeswitch works fine and
> handles all the calls very well.
>
> After that I send 130 calls per seconds, and magic happen now, Freeswitch
> handles first 100 calls only.
> all the preceding calls were failed (even not appeared in freeswitch
> console
> why?)
>
> When I put ngrep trace, System responds with 503 Maximum Calls In Progress.
> (as below)
> ###########################################################
> #
> U FSFSFSFSFS -> GWGWGWGWGW
> SIP/2.0 503 Maximum Calls In Progress.
> Via: SIP/2.0/UDP GWGWGWGWGW;branch=z9hG4bK53eafabb;rport=5060.
> From: "99999" <sip:99999 at GWGWGWGWGW>;tag=as2e10c170.
> To: <sip:1234567890 at FSFSFSFSFS >;tag=K3jSUFrDHpmmB.
> Call-ID: 0feb229e58afe7be17110deb361dc234 at GWGWGWGWGW.
> CSeq: 102 INVITE.
> Retry-After: 300.
> User-Agent: FreeSWITCH-mod_sofia/1.0.2-exported.
> Accept: application/sdp.
> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,
> NOTIFY,
> REFER, UPDATE, REGISTER, INFO, PUBLISH.
> Supported: timer, precondition, path, replaces.
> Allow-Events: talk, presence, dialog, call-info, sla,
> include-session-description, presence.winfo, message-summary, refer.
> Content-Length: 0.
> .
> #####################################################################
>
>
> Now another issue to note down is that,
> After all above happened and active calls comes to zero,
> I just make a single call which also fails with response 503 - Maximum
> Calls
> In Progress.
>
>
> Is this intended behaviour, should I increase SPS to overcome this. or
> something like bug.
>
> Please let me know what should be the resolution for this.
>
> Thanks,
> msp
>
>
>
> Anthony Minessale-2 wrote:
> >
> > Also remember,
> > Actually completely uninstall and erase /usr/local/freeswitch and the
> > 1.0.1
> > source tree and freshly install the new one.
> > If you try to upgrade on top of a release with trunk it will cause more
> > problems for you.
> >
> >
> > On Wed, Jan 28, 2009 at 3:11 AM, Ken Rice <krice at suspicious.org> wrote:
> >
> >> Upgrade to trunk... Many many issues have been resolved since 1.0.1 was
> >> the
> >> current release
> >>
> >>
> >> > From: shehzad p <pmhshz at gmail.com>
> >> > Reply-To: <freeswitch-users at lists.freeswitch.org>
> >> > Date: Wed, 28 Jan 2009 00:54:13 -0800 (PST)
> >> > To: <freeswitch-users at lists.freeswitch.org>
> >> > Subject: [Freeswitch-users]  Freeswitch freezes on increasing call
> >> traffic
> >> >
> >> >
> >> > Hi all,
> >> >
> >> > Yesterday my Freeswitch server faced a problem when call traffic
> >> increased
> >> > to more than 100.
> >> >
> >> > When I start Freeswitch, it works fine and then after some time
> >> > (approximately 15 to 20 minutes)  it stops functioning (means no call
> >> is
> >> > being processed, no CLI command is working and it just freezes) until
> I
> >> > restart the freeswitch.
> >> >
> >> > I am using Freeswitch 1.0.1.
> >> > Debug (gdb) trace as on wiki page
> >> > http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#fs_debug.sh is
> >> attached
> >> > http://www.nabble.com/file/p21701744/fs_debgu.txt fs_debgu.txt
> >> > --
> >> > View this message in context:
> >> >
> >>
> http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744
> >> > p21701744.html
> >> > Sent from the Freeswitch-users mailing list archive at Nabble.com.
> >> >
> >> >
> >> > _______________________________________________
> >> > 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/
> >
> > AIM: anthm
> > MSN:anthony_minessale at hotmail.com <MSN%3Aanthony_minessale at hotmail.com><
> MSN%3Aanthony_minessale at hotmail.com<MSN%253Aanthony_minessale at hotmail.com>
> >
> > GTALK/JABBER/PAYPAL:anthony.minessale at gmail.com<PAYPAL%3Aanthony.minessale at gmail.com>
> <PAYPAL%3Aanthony.minessale at gmail.com<PAYPAL%253Aanthony.minessale at gmail.com>
> >
> > IRC: irc.freenode.net #freeswitch
> >
> > FreeSWITCH Developer Conference
> > sip:888 at conference.freeswitch.org <sip%3A888 at conference.freeswitch.org><
> sip%3A888 at conference.freeswitch.org<sip%253A888 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>
> <googletalk%3Aconf%2B888 at conference.freeswitch.org<googletalk%253Aconf%252B888 at conference.freeswitch.org>
> >
> > pstn:213-799-1400
> >
> > _______________________________________________
> > 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
> >
> >
>
> --
> View this message in context:
> http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21729863.html
> Sent from the Freeswitch-users mailing list archive at Nabble.com.
>
>
> _______________________________________________
> 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/

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/20090129/973ff32d/attachment-0002.html 


More information about the FreeSWITCH-users mailing list