Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error connection: Out of memory #105

Open
WhiteyDude opened this issue Dec 13, 2018 · 0 comments
Open

Error connection: Out of memory #105

WhiteyDude opened this issue Dec 13, 2018 · 0 comments

Comments

@WhiteyDude
Copy link

Hi all,

We're running luasql 2.3.0 under lua 5.1.4, which is called by asterisk (open source PBX) as a dial plan interpreter.

This has worked perfectly for us for years. We've recently built a new machine to move load to, with the same MariaDB libraries, luasql version and lua version. However we're seeing nightly between 2am-6am the following error:

LuaSQL: error connecting: Out of memory.

A little digging shows that this is thrown in LuaSQL when the MySQL library itself responds with NULL to the connect event.

Can you please recommend methods of troubleshooting this? I'm unsure how to monitor the memory allocation being used by LuaSQL, or of how to get any further verbosity from this.

I've backpatched fea0c00 into the 2.3.0 and rebuilt the library - due to suspecting the close was not working - however this has not assisted at all.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant