if you are using unix you can use the supplied script<br><br>scripts/freeswitch-gcore<br><br>to capture a copy of the resident memory and I can have a look perhaps.<br><br>Trunk is safe for production as we are in beta stage for a release of 1.0.3 at this time.<br>
<br><br><br><div class="gmail_quote">On Fri, Jan 30, 2009 at 9:29 AM, shehzad p <span dir="ltr"><<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
When freeswitch freezes, we can't connect to it to check sps status,<br>
but once we were able to connect and at that time it was showing 0/0 sps.<br>
<br>
thanks...<br>
<div><div></div><div class="Wj3C7c"><br>
shehzad p wrote:<br>
><br>
> Thanks, Anthony<br>
><br>
> In my previous test sps did not changed,<br>
> but in recent test sps was dropped to 0 itself (as below).<br>
> ===============================================================<br>
> UP 0 years, 0 days, 5 hours, 1 minute, 53 seconds, 878 milliseconds, 190<br>
> microseconds<br>
> 5474 session(s) since startup<br>
> 75 session(s) 0/0<br>
> =============================================================<br>
><br>
> My system is 32 bit.<br>
> CPU is Intel(R) Xeon(R) CPU X3220 @ 2.40GHz<br>
> And RAM is 4GB<br>
><br>
> Output of ulimit -a is:<br>
> ulimit -a: (set after first test)<br>
> core file size (blocks, -c) unlimited<br>
> data seg size (kbytes, -d) unlimited<br>
> max nice (-e) 20<br>
> file size (blocks, -f) unlimited<br>
> pending signals (-i) unlimited<br>
> max locked memory (kbytes, -l) unlimited<br>
> max memory size (kbytes, -m) unlimited<br>
> open files (-n) 999999<br>
> pipe size (512 bytes, -p) 8<br>
> POSIX message queues (bytes, -q) unlimited<br>
> max rt priority (-r) unlimited<br>
> stack size (kbytes, -s) 244<br>
> cpu time (seconds, -t) unlimited<br>
> max user processes (-u) unlimited<br>
> virtual memory (kbytes, -v) unlimited<br>
> file locks (-x) unlimited<br>
> ===================================================<br>
><br>
><br>
> BTW using trunk on production system is safe?<br>
><br>
> Warm thanks for kind responses...<br>
><br>
><br>
><br>
> Anthony Minessale-2 wrote:<br>
>><br>
>> When you get it in that state what do you see when you execute<br>
>><br>
>> fsctl sps<br>
>><br>
>> is the sps a very low number?<br>
>><br>
>> Did the sps drop by itself from the value you originally set it to?<br>
>><br>
>> Are you using 32 bit?<br>
>><br>
>> if so try all of these commands in your shell before starting FS<br>
>><br>
>> ulimit -c unlimited<br>
>> ulimit -d unlimited<br>
>> ulimit -f unlimited<br>
>> ulimit -i unlimited<br>
>> ulimit -n 999999<br>
>> ulimit -q unlimited<br>
>> ulimit -u unlimited<br>
>> ulimit -v unlimited<br>
>> ulimit -x unlimited<br>
>> ulimit -s 244<br>
>> ulimit -l unlimited<br>
>><br>
>><br>
>> DO NOT put them in a script unless you source the script with .<br>
>> . myscript or they will be undone instantly when the script exits<br>
>><br>
>> BTW, I said to try latest trunk not 1.0.2 We can only debug the<br>
>> development<br>
>> code at this point.<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On Thu, Jan 29, 2009 at 10:06 AM, shehzad p <<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>> wrote:<br>
>><br>
>>><br>
>>> Hi Anthony,<br>
>>><br>
>>> I found interesting result while testing Freeswitch, and it might be<br>
>>> cause<br>
>>> of freezing out of freeswitch,<br>
>>><br>
>>> I updated my system (as you told) with latest stable version Freeswitch<br>
>>> 1.0.2<br>
>>> First of all I set sps to 100,<br>
>>> Then I sends call approximately 100 per seconds, Freeswitch works fine<br>
>>> and<br>
>>> handles all the calls very well.<br>
>>><br>
>>> After that I send 130 calls per seconds, and magic happen now,<br>
>>> Freeswitch<br>
>>> handles first 100 calls only.<br>
>>> all the preceding calls were failed (even not appeared in freeswitch<br>
>>> console<br>
>>> why?)<br>
>>><br>
>>> When I put ngrep trace, System responds with 503 Maximum Calls In<br>
>>> Progress.<br>
>>> (as below)<br>
>>> ###########################################################<br>
>>> #<br>
>>> U FSFSFSFSFS -> GWGWGWGWGW<br>
>>> SIP/2.0 503 Maximum Calls In Progress.<br>
>>> Via: SIP/2.0/UDP GWGWGWGWGW;branch=z9hG4bK53eafabb;rport=5060.<br>
>>> From: "99999" <sip:99999@GWGWGWGWGW>;tag=as2e10c170.<br>
>>> To: <sip:1234567890@FSFSFSFSFS >;tag=K3jSUFrDHpmmB.<br>
>>> Call-ID: 0feb229e58afe7be17110deb361dc234@GWGWGWGWGW.<br>
>>> CSeq: 102 INVITE.<br>
>>> Retry-After: 300.<br>
>>> User-Agent: FreeSWITCH-mod_sofia/1.0.2-exported.<br>
>>> Accept: application/sdp.<br>
>>> Allow: INVITE, ACK, BYE, CANCEL, OPTIONS, PRACK, MESSAGE, SUBSCRIBE,<br>
>>> NOTIFY,<br>
>>> REFER, UPDATE, REGISTER, INFO, PUBLISH.<br>
>>> Supported: timer, precondition, path, replaces.<br>
>>> Allow-Events: talk, presence, dialog, call-info, sla,<br>
>>> include-session-description, presence.winfo, message-summary, refer.<br>
>>> Content-Length: 0.<br>
>>> .<br>
>>> #####################################################################<br>
>>><br>
>>><br>
>>> Now another issue to note down is that,<br>
>>> After all above happened and active calls comes to zero,<br>
>>> I just make a single call which also fails with response 503 - Maximum<br>
>>> Calls<br>
>>> In Progress.<br>
>>><br>
>>><br>
>>> Is this intended behaviour, should I increase SPS to overcome this. or<br>
>>> something like bug.<br>
>>><br>
>>> Please let me know what should be the resolution for this.<br>
>>><br>
>>> Thanks,<br>
>>> msp<br>
>>><br>
>>><br>
>>><br>
>>> Anthony Minessale-2 wrote:<br>
>>> ><br>
>>> > Also remember,<br>
>>> > Actually completely uninstall and erase /usr/local/freeswitch and the<br>
>>> > 1.0.1<br>
>>> > source tree and freshly install the new one.<br>
>>> > If you try to upgrade on top of a release with trunk it will cause<br>
>>> more<br>
>>> > problems for you.<br>
>>> ><br>
>>> ><br>
>>> > On Wed, Jan 28, 2009 at 3:11 AM, Ken Rice <<a href="mailto:krice@suspicious.org">krice@suspicious.org</a>><br>
>>> wrote:<br>
>>> ><br>
>>> >> Upgrade to trunk... Many many issues have been resolved since 1.0.1<br>
>>> was<br>
>>> >> the<br>
>>> >> current release<br>
>>> >><br>
>>> >><br>
>>> >> > From: shehzad p <<a href="mailto:pmhshz@gmail.com">pmhshz@gmail.com</a>><br>
>>> >> > Reply-To: <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
>>> >> > Date: Wed, 28 Jan 2009 00:54:13 -0800 (PST)<br>
>>> >> > To: <<a href="mailto:freeswitch-users@lists.freeswitch.org">freeswitch-users@lists.freeswitch.org</a>><br>
>>> >> > Subject: [Freeswitch-users] Freeswitch freezes on increasing call<br>
>>> >> traffic<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > Hi all,<br>
>>> >> ><br>
>>> >> > Yesterday my Freeswitch server faced a problem when call traffic<br>
>>> >> increased<br>
>>> >> > to more than 100.<br>
>>> >> ><br>
>>> >> > When I start Freeswitch, it works fine and then after some time<br>
>>> >> > (approximately 15 to 20 minutes) it stops functioning (means no<br>
>>> call<br>
>>> >> is<br>
>>> >> > being processed, no CLI command is working and it just freezes)<br>
>>> until<br>
>>> I<br>
>>> >> > restart the freeswitch.<br>
>>> >> ><br>
>>> >> > I am using Freeswitch 1.0.1.<br>
>>> >> > Debug (gdb) trace as on wiki page<br>
>>> >> > <a href="http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#fs_debug.sh" target="_blank">http://wiki.freeswitch.org/wiki/Debugging_Freeswitch#fs_debug.sh</a> is<br>
>>> >> attached<br>
>>> >> > <a href="http://www.nabble.com/file/p21701744/fs_debgu.txt" target="_blank">http://www.nabble.com/file/p21701744/fs_debgu.txt</a> fs_debgu.txt<br>
>>> >> > --<br>
>>> >> > View this message in context:<br>
>>> >> ><br>
>>> >><br>
>>> <a href="http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744" target="_blank">http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744</a><br>
>>> >> > p21701744.html<br>
>>> >> > Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
>>> >> ><br>
>>> >> ><br>
>>> >> > _______________________________________________<br>
>>> >> > Freeswitch-users mailing list<br>
>>> >> > <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> >> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> ><br>
>>> >> UNSUBSCRIBE:<br>
>>> <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >><br>
>>> >><br>
>>> >><br>
>>> >> _______________________________________________<br>
>>> >> Freeswitch-users mailing list<br>
>>> >> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> >> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> >> UNSUBSCRIBE:<br>
>>> <a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> >> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> >><br>
>>> ><br>
>>> ><br>
>>> ><br>
>>> > --<br>
>>> > Anthony Minessale II<br>
>>> ><br>
>>> > FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>>> > ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>>> ><br>
>>> > AIM: anthm<br>
>>> > <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>
>>> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><<br>
>>> <a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a><<a href="mailto:MSN%25253Aanthony_minessale@hotmail.com">MSN%253Aanthony_minessale@hotmail.com</a>><br>
>>> ><br>
>>> ><br>
>>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
>>> <<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%25253Aanthony.minessale@gmail.com">PAYPAL%253Aanthony.minessale@gmail.com</a>><br>
>>> ><br>
>>> > IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>>> ><br>
>>> > FreeSWITCH Developer Conference<br>
>>> > <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br>
>>> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><<br>
>>> <a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a><<a href="mailto:sip%25253A888@conference.freeswitch.org">sip%253A888@conference.freeswitch.org</a>><br>
>>> ><br>
>>> > <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
>>> ><br>
>>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
>>> <<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a><<a href="mailto:googletalk%25253Aconf%25252B888@conference.freeswitch.org">googletalk%253Aconf%252B888@conference.freeswitch.org</a>><br>
>>> ><br>
>>> > pstn:213-799-1400<br>
>>> ><br>
>>> > _______________________________________________<br>
>>> > Freeswitch-users mailing list<br>
>>> > <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> > <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> ><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> > <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>> ><br>
>>> ><br>
>>><br>
>>> --<br>
>>> View this message in context:<br>
>>> <a href="http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21729863.html" target="_blank">http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21729863.html</a><br>
>>> Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
>>><br>
>>><br>
>>> _______________________________________________<br>
>>> Freeswitch-users mailing list<br>
>>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>>><br>
>><br>
>><br>
>><br>
>> --<br>
>> Anthony Minessale II<br>
>><br>
>> FreeSWITCH <a href="http://www.freeswitch.org/" target="_blank">http://www.freeswitch.org/</a><br>
>> ClueCon <a href="http://www.cluecon.com/" target="_blank">http://www.cluecon.com/</a><br>
>><br>
>> AIM: anthm<br>
>> <a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a> <<a href="mailto:MSN%253Aanthony_minessale@hotmail.com">MSN%3Aanthony_minessale@hotmail.com</a>><br>
>> GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><<a href="mailto:PAYPAL%253Aanthony.minessale@gmail.com">PAYPAL%3Aanthony.minessale@gmail.com</a>><br>
>> IRC: <a href="http://irc.freenode.net" target="_blank">irc.freenode.net</a> #freeswitch<br>
>><br>
>> FreeSWITCH Developer Conference<br>
>> <a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a> <<a href="mailto:sip%253A888@conference.freeswitch.org">sip%3A888@conference.freeswitch.org</a>><br>
>> <a href="http://iax:guest@conference.freeswitch.org/888" target="_blank">iax:guest@conference.freeswitch.org/888</a><br>
>> <a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><<a href="mailto:googletalk%253Aconf%252B888@conference.freeswitch.org">googletalk%3Aconf%2B888@conference.freeswitch.org</a>><br>
>> pstn:213-799-1400<br>
>><br>
>> _______________________________________________<br>
>> Freeswitch-users mailing list<br>
>> <a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
>> <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
>> UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
>> <a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
>><br>
>><br>
><br>
><br>
<br>
--<br>
</div></div>View this message in context: <a href="http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21749375.html" target="_blank">http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21749375.html</a><br>
<div><div></div><div class="Wj3C7c">Sent from the Freeswitch-users mailing list archive at Nabble.com.<br>
<br>
<br>
_______________________________________________<br>
Freeswitch-users mailing list<br>
<a href="mailto:Freeswitch-users@lists.freeswitch.org">Freeswitch-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>Anthony Minessale II<br><br>FreeSWITCH <a href="http://www.freeswitch.org/">http://www.freeswitch.org/</a><br>ClueCon <a href="http://www.cluecon.com/">http://www.cluecon.com/</a><br>
<br>AIM: anthm<br><a href="mailto:MSN%3Aanthony_minessale@hotmail.com">MSN:anthony_minessale@hotmail.com</a><br>GTALK/JABBER/<a href="mailto:PAYPAL%3Aanthony.minessale@gmail.com">PAYPAL:anthony.minessale@gmail.com</a><br>
IRC: <a href="http://irc.freenode.net">irc.freenode.net</a> #freeswitch<br><br>FreeSWITCH Developer Conference<br><a href="mailto:sip%3A888@conference.freeswitch.org">sip:888@conference.freeswitch.org</a><br><a href="http://iax:guest@conference.freeswitch.org/888">iax:guest@conference.freeswitch.org/888</a><br>
<a href="mailto:googletalk%3Aconf%2B888@conference.freeswitch.org">googletalk:conf+888@conference.freeswitch.org</a><br>pstn:213-799-1400<br>