-
-
Notifications
You must be signed in to change notification settings - Fork 5.2k
Messenger process managers #13597
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
Messenger process managers #13597
Conversation
80f531d
to
96f6f40
Compare
8d045ff
to
bbcc618
Compare
did some polishing. This PR is ready |
c486cdb
to
6b27c14
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FI, [Unit] section of service allow "Requires=" which could be set to prevent failure from dependency not meet a startup
@tvlooy can you please retarget to |
What would you suggest as a Requires? |
@OskarStark thanks for the review! |
No interest in merging this? |
Please merge this, as I was looking days for a solution on supervisor. Thanks to @tvlooy we managed to implement the wrapper script which added the needed delay between restarts. As the PR for supervisor does not provide this. So a merge would be nice for the world to know :) |
Add information about mysql timeouts, supervisor FATAL, systemd user services. Add docs for symfony#13617
This feature seems to be the official way to handle delays in restart.
Hi @tvlooy! Thanks a lot for sharing this knowledge by contributing to the docs. Having this expert information in the docs is great, but - as you noticed - it's also hard to review/merge as we aren't necessarily expert on the topic ourselves :)
Nonetheless, I think having a systemd example in the documentation is great and looking at the comments in this PR, the community is looking for a way to avoid FATAL states. Reading the Supervisor issue referenced by @icanhazstring, I found out about Supervisor's BACKOFF strategy: Supervisor/supervisor#487 (comment) I've decided to document that instead of your bash helper script, as it feels more official. Let me know if you think this doesn't work for what you intended to solve :) |
Add information about mysql timeouts, supervisor FATAL, systemd user services.
Or, how should you handle this MySQL timeout issue, supervisor restart (FATAL) issues? How do you people do this? What does the component author thinks about this?
I myself am using with systemd user services in production for a while and it's running okay.