-
Notifications
You must be signed in to change notification settings - Fork 992
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
ProxySQL crash and restart in loop #4778
Comments
@quentinsimon I am looking to gather more details about this issue to help troubleshoot:
|
Hi @Habeeb556, Thanks for your reply. Here my answers :
It is consistent regardless of the system load
The production environment stays up but no queries can't reach database so I've got dozens of ECONNREFUSED error on my NodeJS app logs and API requests fall in HTTP 400 or 500
Here a screenshot of a top command when it crashes During crash : Here what can I found in my proxysql logfile Hope it could help |
Hmm, strange. Since it doesn’t seem to be a resource issue, I think it is more of a configuration issue rather than a bug, but I’m not able to fully understand it yet. Could you provide more details to help with further investigation? Just to clarify, does ProxySQL always restart, regardless of load, even when the Node.js production environment isn’t connected to it? Or does it only restart when there is a connection? In another way, when you do a fresh installation of ProxySQL does it always restart? If not, when does this happen? I’d like to determine whether the issue is related to the application or a misconfiguration. I need you try to reproduce it with more attempts. |
OS version : Debian 6.1.112-1 (2024-09-30)
ProxySQL version : ProxySQL version 2.6.6-8-gc03c5ee, codename Truls
MariaDB version : 10.11.6-MariaDB-0+deb12u1
I'm using a NodeJS app that connect to ProxySQL through mysql2 3.11 package
Anytime I'm executing a statement I've got ProxySQL crashing and restarting
No problem in my staging environment, could it be that it can't handle the production traffic ?
Error logs :
Error: signal 11:
/usr/bin/proxysql(_Z13crash_handleri+0x2a)[0x5563ad3b322a]
/lib/x86_64-linux-gnu/libc.so.6(+0x3c050)[0x7f94d465b050]
/lib/x86_64-linux-gnu/libc.so.6(+0x164032)[0x7f94d4783032]
/usr/bin/proxysql(store_param+0x125)[0x5563ada83325]
/usr/bin/proxysql(ma_stmt_execute_generate_simple_request+0x362)[0x5563ada83af2]
/usr/bin/proxysql(ma_stmt_execute_generate_request+0xc5)[0x5563ada84255]
/usr/bin/proxysql(mysql_stmt_execute+0x78)[0x5563ada85e88]
/usr/bin/proxysql(+0xa52ea8)[0x5563ada93ea8]
/usr/bin/proxysql(my_context_spawn+0x41)[0x5563ada96e31]
---- /usr/bin/proxysql(_Z13crash_handleri+0x2a) [0x5563ad3b322a] : crash_handler(int)
To report a crashing bug visit: https://github.com/sysown/proxysql/issues
For support visit: https://proxysql.com/services/support/
2024-12-18 22:46:34 main.cpp:1464:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting!
Thanks for your help cause I can't decrypt the error
The text was updated successfully, but these errors were encountered: