I've never ever had a Lua script crash, but I don't use LuaSQL or even the dbh. However, Chad Phillips (IRC: hunmonk) uses Lua and dbh for the JesterMail.
To me lua frequently crashes when multiple channels call lua interpreter at
the same time. Even with trivial lua script which calls single select
statement using dbh.
On Wednesday 08 June 2011, Michael Collins wrote:
> Yes, you'll have one js instance for each call. JS does not scale very
> well, but if you want the ability to scale a lot then you should use Lua.
>
> -MC
>
> On Wed, Jun 8, 2011 at 8:30 AM, Yungwei Chen <yungwei@resolvity.com> wrote:
> > Hi,
> >
> > I'm wondering if the following extension can handle multiple concurrent
> > calls. Thanks.
> >
> > <extension name="test">
> >
> > <condition field="destination_number" expression="^9912$">
> >
> > <action application="answer"/>
> > <action application="javascript" data="test.js"/>
> >
> > </condition>
> >
> > </extension>
> >
> > _______________________________________________
> > 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