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 when out of memory #73

Closed
gzliudan opened this issue Aug 10, 2018 · 1 comment
Closed

error when out of memory #73

gzliudan opened this issue Aug 10, 2018 · 1 comment

Comments

@gzliudan
Copy link

When my server‘s memory is exhausted, pgmoon report below errors:
attempt to get length of local 'err_msg' (a nil value)

2018/08/09 16:15:33 [error] 15433#15433: *9161 recv() failed (104: Connection reset by peer), client: 127.0.0.1, server: localhost, request: "POST /api/test HTTP/1.0", host: "xxx.com"
2018/08/09 16:15:33 [error] 15433#15433: *9161 lua entry thread aborted: runtime error: /usr/local/openresty/site/lualib/pgmoon/init.lua:390: attempt to get length of local 'err_msg' (a nil value)
stack traceback:
coroutine 0:
/usr/local/openresty/site/lualib/pgmoon/init.lua: in function 'parse_error'
/usr/local/openresty/site/lualib/pgmoon/init.lua:243: in function 'auth'
/usr/local/openresty/site/lualib/pgmoon/init.lua:211: in function 'connect'

@leafo
Copy link
Owner

leafo commented Oct 14, 2021

I'm closing out old tickets. I don't think there's much we can do here. Is this an OOM from postgres server or is the lua vm running out of memory?

@leafo leafo closed this as completed Oct 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants