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

Stalled MySQL thread leading to ProxySQL lock up. #1685

Closed
bmildren opened this issue Sep 11, 2018 · 3 comments
Closed

Stalled MySQL thread leading to ProxySQL lock up. #1685

bmildren opened this issue Sep 11, 2018 · 3 comments

Comments

@bmildren
Copy link

bmildren commented Sep 11, 2018

ProxySQL: v1.4.10-1-g5eb0f3e
OS: Ubuntu 14.04

We had a couple of MySQL hosts that were experiencing intermittent soft lockups due to a build issue. Initially this led to the watchdog forcing an assertion loop across all of our ProxySQL nodes.

image

We updated the config to add restart_on_missing_heartbeats=0, however this led to a lock up on all of ProxySQL nodes when the problematic hosts were restarted, which only resolved when the hosts came back up again 10m later.

image

Ideally, to avoid affecting all connections, the stalled MySQL thread should just lead to something along the lines of a connect timeout and subsequent shunning of the node.

I can supply the logs directly 👍

@renecannao
Copy link
Contributor

Hi Ben,

the watchdog forcing an assertion is a mechanism to unblock proxysql (the hard way, with a restart) in the event it stalls for unknown reasons.
The fact that the reason of the stall is unknown, it needs further debugging with a core dump.

We are continuing this conversation privately.

@renecannao
Copy link
Contributor

@bmildren : is it ok to close this?

@renecannao
Copy link
Contributor

Closing

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