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

NGX-812: Wait 3 cycles before restart #7

Merged
merged 1 commit into from
Jan 21, 2024
Merged

NGX-812: Wait 3 cycles before restart #7

merged 1 commit into from
Jan 21, 2024

Conversation

combssm
Copy link
Member

@combssm combssm commented Jan 21, 2024

When MySQL is restarting it can coincide with a monit check. If monit fails to connect it will try and restart the srevice (stop/start). This can cause the initial restart to fail with error, "Job for mariadb.service canceled." and result in a playbook failure for the restart mysql handler. This configure monit to wait for 3 failed cycles before attempting a restart on the mariadb service.

@combssm combssm merged commit 1a82f8d into main Jan 21, 2024
8 checks passed
@combssm combssm deleted the NGX-812 branch January 21, 2024 21:53
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

Successfully merging this pull request may close these issues.

1 participant