-
Notifications
You must be signed in to change notification settings - Fork 977
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 hanged due to Watchdog missed heartbeat #2217
Comments
I am not really sure what you are asking. Also, when proxysql automatically restarts it will also generate a core dump that, once analyzed, may help identify why it hangs, so that perhaps a fix can be implemented. |
Thanks for your update. #0 0x00007f8194dc0207 in raise () from /lib64/libc.so.6 We suspect n/w latency between proxy and DB, Which is not avoidable in our case. |
hi @selvabalaji15 , this is the backtrace of the main thread, that is the one that aborts in case of missing heartbeats. |
Hi Renecannao, |
Hi @selvabalaji15 . Thanks |
Hi Renecannao, |
I meet the problem too, my version is here some log
|
ProxySQL version : ProxySQL version 2.0.4-116-g7d371cf, codename Truls
OS version : CentOS Linux release 7.6.1810 (Core)
As we are having network latency between MySQL and ProxySQL servers some times, watchdog missed heartbeat and proxysql got restarted.
So I have changed restart_on_missing_heartbeats variable value as zero to avoid restart if watchdog missed heartbeat.
But after that if watchdog missed heartbeat for while, proxysql got hanged. So we are restarting proxysql whenever it got hanged.
Is that any timeout settings/configurations we can deploy for not missing heartbeat. Please suggest us, how to overcome this issue.
Proxysql Error log :-
2019-08-26 17:53:51 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:53:57 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:03 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:09 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:15 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:21 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:27 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:33 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:39 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:45 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:51 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:54:57 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:03 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:09 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:15 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:21 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:27 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:33 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:39 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:45 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:51 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:55:57 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:03 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:09 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:15 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:21 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:27 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:33 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:39 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:45 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:51 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:56:57 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:57:03 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-08-26 17:57:09 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
The text was updated successfully, but these errors were encountered: