[Freeswitch-users] Freeswitch freezes on increasing call traffic

Anthony Minessale anthony.minessale at gmail.com
Wed Feb 4 05:51:06 PST 2009


If you still get a crash on SVN trunk please post the bt even if you think
it's the same, since it won't be
exactly the same, the line numbers etc will be accurate with our development
code making it easier to debug.


On Wed, Feb 4, 2009 at 12:38 AM, shehzad p <pmhshz at gmail.com> wrote:

>
> Hi anthony,
>
> I Modified the whole architecture of call routing system,
> Now after getting required routes, script exit and,
> control comes back to Dialplan, and call is bridged there,
> And call hangup, CDR is posted to cdr.php file (using xml_cdr).
>
> So now there is no blocking statement (bridge or anything like that) in
> current javascript, It return back control instantly.
>
> So, setting up all above architecture...
> First I tested FS 1.0.1 , It get crashed two times, in interval of 3 to 5
> hours and simultaneous call of about 100 to 150.
> BT is the same as before...
> http://www.nabble.com/file/p21825226/bt_new_arch.txt bt_new_arch.txt
>
> Now I am also testing 1.0.3RC1, and post it back if any found.
>
> Thanks
> msp
>
>
> Clearly you have an issue with your javascript code.
>
> You have the Garbage collector blocking in every thread.
>
> Are you doing any endless loops in your code where you do not check
> session.ready() as a condition for
> continuing the script?
>
> any time session.ready() fails you must immediately exit.
>
> Are you using session.execute to execute long blocking operations like
> bridging many calls or entering a conference?
> You should avoid doing this as all the collective scripts on the system
> share a common Garbage Collector provided by the
> JS engine and it can lead to the exact issues you describe if the code is
> not properly designed.
>
> What else does you script do that are things provided by FS such as playing
> files and executing applications.
>
>
>
>
> --
> View this message in context:
> http://www.nabble.com/Freeswitch-freezes-on-increasing-call-traffic-tp21701744p21825226.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/20090204/deb1ce9a/attachment-0002.html 


More information about the FreeSWITCH-users mailing list