I&#39;ve never ever had a Lua script crash, but I don&#39;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">&lt;<a href="mailto:sos@sokhapkin.dyndns.org">sos@sokhapkin.dyndns.org</a>&gt;</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>
&gt; Yes, you&#39;ll have one js instance for each call. JS does not scale very<br>
&gt; well, but if you want the ability to scale a lot then you should use Lua.<br>
&gt;<br>
&gt; -MC<br>
&gt;<br>
&gt; On Wed, Jun 8, 2011 at 8:30 AM, Yungwei Chen &lt;<a href="mailto:yungwei@resolvity.com">yungwei@resolvity.com</a>&gt; wrote:<br>
&gt; &gt; Hi,<br>
&gt; &gt;<br>
&gt; &gt; I&#39;m wondering if the following extension can handle multiple concurrent<br>
&gt; &gt; calls. Thanks.<br>
&gt; &gt;<br>
&gt; &gt;  &lt;extension name=&quot;test&quot;&gt;<br>
&gt; &gt;<br>
&gt; &gt;        &lt;condition field=&quot;destination_number&quot; expression=&quot;^9912$&quot;&gt;<br>
&gt; &gt;<br>
&gt; &gt;                &lt;action application=&quot;answer&quot;/&gt;<br>
&gt; &gt;                &lt;action application=&quot;javascript&quot; data=&quot;test.js&quot;/&gt;<br>
&gt; &gt;<br>
&gt; &gt;        &lt;/condition&gt;<br>
&gt; &gt;<br>
&gt; &gt;  &lt;/extension&gt;<br>
&gt; &gt;<br>
&gt; &gt; _______________________________________________<br>
&gt; &gt; FreeSWITCH-users mailing list<br>
&gt; &gt; <a href="mailto:FreeSWITCH-users@lists.freeswitch.org">FreeSWITCH-users@lists.freeswitch.org</a><br>
&gt; &gt; <a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
&gt; &gt; UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
&gt; &gt; <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>