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

Stopping puma with Systemd takes too long #5392

Open
javierm opened this issue Feb 13, 2024 · 0 comments
Open

Stopping puma with Systemd takes too long #5392

javierm opened this issue Feb 13, 2024 · 0 comments

Comments

@javierm
Copy link
Member

javierm commented Feb 13, 2024

User Story

After upgrading Puma to version 5.0 in pull request #5178, which requires systemd (or a similar system), we've noticed that, on our staging server, stopping (or restarting) the Puma service with Systemd takes exactly 60 seconds (it used to take exactly 90 before we started using a Puma socket in pull request #5372).

This means requests to a Consul application might timeout while restarting Puma after deploying new code.

We haven't found the cause yet. We've tried using Type=notify in the systemd service, or upgrading to Puma 6, getting the same results.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant