Skip to content

Crash after idling #2088

Description

@scaarup

Description:
I have two webapp's in tomcat connected to a local proxysql. If I leave the one application without using it for some hours and then start using it, proxysql crashes.
log snippet from the crash:

2019-06-07 14:24:43 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:24:46 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:24:49 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:24:52 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:24:55 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:24:58 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:25:01 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:25:04 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:25:07 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:25:10 main.cpp:1634:main(): [ERROR] Watchdog: 1 threads missed a heartbeat
2019-06-07 14:25:10 main.cpp:1638:main(): [ERROR] Watchdog: reached 10 missed heartbeats. Aborting!
proxysql: main.cpp:1639: int main(int, const char**): Assertion `0' failed.
Error: signal 6:
proxysql(_Z13crash_handleri+0x1a)[0x4a219a]
/lib64/libc.so.6(+0x36280)[0x7f525bfc1280]
/lib64/libc.so.6(gsignal+0x37)[0x7f525bfc1207]
/lib64/libc.so.6(abort+0x148)[0x7f525bfc28f8]
/lib64/libc.so.6(+0x2f026)[0x7f525bfba026]
/lib64/libc.so.6(+0x2f0d2)[0x7f525bfba0d2]
proxysql(main+0xb9d)[0x49e38d]
/lib64/libc.so.6(__libc_start_main+0xf5)[0x7f525bfad3d5]
proxysql[0x49e9f4]
2019-06-07 14:25:10 main.cpp:1371:ProxySQL_daemonize_phase3(): [ERROR] ProxySQL crashed. Restarting!

I have continuous monitoring of proxysql backend health and group membership. Everything is fine all the time, and my other application never fails.
Note: connections to backends is with ssl.
Version: 2.0.4
Installed from: https://repo.proxysql.com/ProxySQL/proxysql-2.0.x/centos/7/proxysql-2.0.4-1-centos7.x86_64.rpm
OS: Red Hat Enterprise Linux Server release 7.6 (Maipo)
Compressed error log: proxysql.log.gz
Coredump: core.2029.gz
Compressed binary: proxysql.gz

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions