[Freeswitch-users] Mod LUA memory leak

Jai Rangi jprangi at gmail.com
Wed Nov 15 17:08:19 UTC 2017


Freeswitch dbh/odbc

On Wed, Nov 15, 2017 at 9:05 AM Chad Phillips <chad at apartmentlines.com>
wrote:

> Jai,
>
> I’ve run 1.6.15 on Debian Jessie using the freeswitch.Dbh/ODBC approach
> since March, without a single crash. Perhaps I haven’t put my servers under
> the kind of load needed to create the crash you’ve reported.
>
> Are you using LuaSQL/ODBC, or freeswitch.Dbh/ODBC?
>
>
> On Wed, Nov 15, 2017 at 7:56 AM, Jai Rangi <jprangi at didforsale.com> wrote:
>
>> Hello Ken,
>> Bug created in Jira.
>>
>> Seems there is small code change in mod_lua.cpp. I rebuild the module
>> with older code and it has not crashed since then 15 hours.
>>
>> @Chad,
>> Yes, I am using LuaSQL and my experience with odbc and luasql is quite
>> opposite. With ODBC fresswitch crashes on slightly heave load. I have
>> submitted few bug reports. Every time I was told FS creases due to ODBC
>> crash/bug. I tested with latest code available for both. Changed all db
>> queries to luasql and since then no crash. Have been using 1.6.9 and
>> 1.6.13.
>>
>>
>>
>> *Jai Rangi*
>> Cebod Technologies LLC dba DIDforSale/Cebod Telecom
>> O 949-471-0102 | C 949-419-7634 <1-949-419-7634> | F 949-269-0449 /
>> 949-232-1410 | jprangi at didforsale.com  www.cebod.com |
>> www.didforsale.com |2372 Morse Ave., Ste. 124, Irvine, CA 92614|
>>
>>
>>
>>
>>
>>
>> On Tue, Nov 14, 2017 at 2:21 PM, Ken Rice <krice at freeswitch.org> wrote:
>>
>>> Potential bugs are always reported to jira not the mailing list.
>>>
>>>
>>>
>>> *From:* FreeSWITCH-users [mailto:
>>> freeswitch-users-bounces at lists.freeswitch.org] *On Behalf Of *Jai Rangi
>>> *Sent:* Tuesday, November 14, 2017 3:58 PM
>>> *To:* FreeSWITCH Users Help <freeswitch-users at lists.freeswitch.org>
>>> *Subject:* [Freeswitch-users] Mod LUA memory leak
>>>
>>>
>>>
>>>
>>>
>>> I have been using LUA heavily and everything has been fine till FS
>>> 1.6.13. Since I upgraded one system to 1.6.17 and 1.6.19, I see this error
>>> just after 2-3 hours of FS restart.
>>>
>>>
>>>
>>> 2017-11-14 21:53:23.113817 [ERR] mod_lua.cpp:203
>>> ...ocal/freeswitch/share/freeswitch/scripts/xml_handler.lua:100: LuaSQL:
>>> error connecting: Out of memory.
>>> stack traceback:
>>>     [C]: in function 'assert'
>>>     ...ocal/freeswitch/share/freeswitch/scripts/xml_handler.lua:100: in
>>> main chunk
>>> 2017-11-14 21:53:23.113817 [ERR] mod_lua.cpp:271 LUA script
>>> parse/execute error!
>>>
>>> Same configuration, same modules, same scripts, same library. Everything
>>> works fine till 1.6.13. Wondering if anyone experiencing something similar.
>>> I can open a bug report, but just wanted to make sure this is not only me.
>>>
>>>
>>>
>>> Thank you,
>>>
>>> -Jai
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>> _________________________________________________________________________
>>> Professional FreeSWITCH Consulting Services:
>>> consulting at freeswitch.org
>>> http://www.freeswitchsolutions.com
>>>
>>> Official FreeSWITCH Sites
>>> http://www.freeswitch.org
>>> http://confluence.freeswitch.org
>>> http://www.cluecon.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
>>>
>>
>>
>> _________________________________________________________________________
>> Professional FreeSWITCH Consulting Services:
>> consulting at freeswitch.org
>> http://www.freeswitchsolutions.com
>>
>> Official FreeSWITCH Sites
>> http://www.freeswitch.org
>> http://confluence.freeswitch.org
>> http://www.cluecon.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
>>
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://confluence.freeswitch.org
> http://www.cluecon.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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20171115/0359eaeb/attachment-0001.html>


More information about the FreeSWITCH-users mailing list