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

Heavy IO causes session loss #4

Open
dfredell opened this issue Jul 18, 2018 · 1 comment
Open

Heavy IO causes session loss #4

dfredell opened this issue Jul 18, 2018 · 1 comment

Comments

@dfredell
Copy link
Collaborator

When a Triton host is under heavy load the mysql-primary is unable to read the consul session file /tmp/mysql-session which then causes the mysql-primary to fail and loose its consul healthy service.
The session is read at

session_id = f.read()

The work around is when this happens to delete the /tmp/mysql-session, and sometimes then run python /usr/local/bin/manage.py run_as_primary

@dfredell
Copy link
Collaborator Author

This might have been solved by setting the ZFS Priority to the same value on all of my Triton Packages. I have mostly migrated off of the autopilotpattern/mysql so IDK if that would fix it. It solved other problems though.

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

1 participant