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






On Tue, Nov 14, 2017 at 2:21 PM, Ken Rice <krice@freeswitch.org> wrote:

Potential bugs are always reported to jira not the mailing list.

 

From: FreeSWITCH-users [mailto:freeswitch-users-bounces@lists.freeswitch.org] On Behalf Of Jai Rangi
Sent: Tuesday, November 14, 2017 3:58 PM
To: FreeSWITCH Users Help <freeswitch-users@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@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@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org