[Freeswitch-users] Language Preference and LUASQL leak??

D Al phone.bytes at gmail.com
Sun Jul 11 14:21:47 PDT 2010


Thanks for info.  Do you have any code segment of your successful
implementation you would share?

On Sun, Jul 11, 2010 at 3:45 AM, Tristan Mahé <t.mahe at telemaque.fr> wrote:

>  Hello,
>
> I do not experience that leak at the moment and I'm using Luasql in
> production ( 20-25k calls a day ) on fedora core 11.
>
> Either it's been fixed, or it's just that as I coded my scripts using
> careful local declaration of the sql stuff ( local var in blocks ) and
> calling the garbage collector after some time, it fixed the trouble.
>
> You can always use luasql with the odbc connector if you fear the mysql
> one, but the best advice I would give you is to try (ie write a sample
> script, use sipp to launch tests on a long period, and then notice if it
> leaks... ).
>
> Regards,
>
> Gled
> Le 11/07/2010 06:05, D Al a écrit :
>
> The Wiki and comments on this list talk highly of Lua as the "preferred"
> language to use with FS, although JavaScript seems to be very active.
>
> The Wiki also mentions a serious memory leak when using the LUASQL.  Is
> that still the case? And if so, is there a way to use LUA and access a MYSQL
> database that makes sense?
>
> Thanks
>
>
> _______________________________________________
> FreeSWITCH-users mailing listFreeSWITCH-users at lists.freeswitch.orghttp://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-usershttp://www.freeswitch.org
>
>
>
> _______________________________________________
> 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
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20100711/45003299/attachment.html 


More information about the FreeSWITCH-users mailing list