if you are using unix you can use the supplied script
scripts/freeswitch-gcore
to capture a copy of the resident memory and I can have a look perhaps.
Trunk is safe for production as we are in beta stage for a release of 1.0.3 at this time.
When freeswitch freezes, we can't connect to it to check sps status,
but once we were able to connect and at that time it was showing 0/0 sps.
thanks...
View this message in context: http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21749375.html
shehzad p wrote:
>
> Thanks, Anthony
>
> In my previous test sps did not changed,
> but in recent test sps was dropped to 0 itself (as below).
> ===============================================================
> UP 0 years, 0 days, 5 hours, 1 minute, 53 seconds, 878 milliseconds, 190
> microseconds
> 5474 session(s) since startup
> 75 session(s) 0/0
> =============================================================
>
> My system is 32 bit.
> CPU is Intel(R) Xeon(R) CPU X3220 @ 2.40GHz
> And RAM is 4GB
>
> Output of ulimit -a is:
> ulimit -a: (set after first test)
> core file size (blocks, -c) unlimited
> data seg size (kbytes, -d) unlimited
> max nice (-e) 20
> file size (blocks, -f) unlimited
> pending signals (-i) unlimited
> max locked memory (kbytes, -l) unlimited
> max memory size (kbytes, -m) unlimited
> open files (-n) 999999
> pipe size (512 bytes, -p) 8
> POSIX message queues (bytes, -q) unlimited
> max rt priority (-r) unlimited
> stack size (kbytes, -s) 244
> cpu time (seconds, -t) unlimited
> max user processes (-u) unlimited
> virtual memory (kbytes, -v) unlimited
> file locks (-x) unlimited
> ===================================================
>
>
> BTW using trunk on production system is safe?
>
> Warm thanks for kind responses...
>
>
>
> Anthony Minessale-2 wrote:
>>
>> 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@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@GWGWGWGWGW>;tag=as2e10c170.
>>> To: <sip:1234567890@FSFSFSFSFS >;tag=K3jSUFrDHpmmB.
>>> Call-ID: 0feb229e58afe7be17110deb361dc234@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@suspicious.org>
>>> wrote:
>>> >
>>> >> Upgrade to trunk... Many many issues have been resolved since 1.0.1
>>> was
>>> >> the
>>> >> current release
>>> >>
>>> >>
>>> >> > From: shehzad p <pmhshz@gmail.com>
>>> >> > Reply-To: <freeswitch-users@lists.freeswitch.org>
>>> >> > Date: Wed, 28 Jan 2009 00:54:13 -0800 (PST)
>>> >> > To: <freeswitch-users@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@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/
>>> >
>>> > AIM: anthm
>>> > MSN:anthony_minessale@hotmail.com
>>> <MSN%3Aanthony_minessale@hotmail.com><
>>> MSN%3Aanthony_minessale@hotmail.com<MSN%253Aanthony_minessale@hotmail.com>
>>> >
>>> >
>>> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
>>> <PAYPAL%3Aanthony.minessale@gmail.com<PAYPAL%253Aanthony.minessale@gmail.com>
>>> >
>>> > IRC: irc.freenode.net #freeswitch
>>> >
>>> > FreeSWITCH Developer Conference
>>> > sip:888@conference.freeswitch.org
>>> <sip%3A888@conference.freeswitch.org><
>>> sip%3A888@conference.freeswitch.org<sip%253A888@conference.freeswitch.org>
>>> >
>>> > iax:guest@conference.freeswitch.org/888
>>> >
>>> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
>>> <googletalk%3Aconf%2B888@conference.freeswitch.org<googletalk%253Aconf%252B888@conference.freeswitch.org>
>>> >
>>> > pstn:213-799-1400
>>> >
>>> > _______________________________________________
>>> > 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
>>> >
>>> >
>>>
>>> --
>>> 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@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@hotmail.com <MSN%3Aanthony_minessale@hotmail.com>
>> GTALK/JABBER/PAYPAL:anthony.minessale@gmail.com<PAYPAL%3Aanthony.minessale@gmail.com>
>> IRC: irc.freenode.net #freeswitch
>>
>> FreeSWITCH Developer Conference
>> sip:888@conference.freeswitch.org <sip%3A888@conference.freeswitch.org>
>> iax:guest@conference.freeswitch.org/888
>> googletalk:conf+888@conference.freeswitch.org<googletalk%3Aconf%2B888@conference.freeswitch.org>
>> pstn:213-799-1400
>>
>> _______________________________________________
>> 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
>>
>>
>
>
--
Sent from the Freeswitch-users mailing list archive at Nabble.com.
_______________________________________________
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