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.<div><br></div><div>-MC<br><br><div class="gmail_quote">On Wed, Jun 8, 2011 at 8:40 AM, Sergey Okhapkin <span dir="ltr"><<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">To me lua frequently crashes when multiple channels call lua interpreter at<br>
the same time. Even with trivial lua script which calls single select<br>
statement using dbh.<br>
<div><div></div><div class="h5"><br>
On Wednesday 08 June 2011, Michael Collins wrote:<br>
> Yes, you'll have one js instance for each call. JS does not scale very<br>
> well, but if you want the ability to scale a lot then you should use Lua.<br>
><br>
> -MC<br>
><br>
> On Wed, Jun 8, 2011 at 8:30 AM, Yungwei Chen <<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>> wrote:<br>
> > Hi,<br>
> ><br>
> > I'm wondering if the following extension can handle multiple concurrent<br>
> > calls. Thanks.<br>
> ><br>
> > <extension name="test"><br>
> ><br>
> > <condition field="destination_number" expression="^9912$"><br>
> ><br>
> > <action application="answer"/><br>
> > <action application="javascript" data="test.js"/><br>
> ><br>
> > </condition><br>
> ><br>
> > </extension><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>
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></div>