Single service unit using the multprocessing process manager #127
natefoo
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
As @mvdbeek mentioned in galaxyproject/galaxy#20520, the multiprocessing process manager is much nicer to deal with for the simple foreground case. I am tempted to add a systemd unit that just runs it that way in a single service.
Upsides:
Downsides:
For the last 2 points, it might be feasible to have the multiprocessing PM restart individual processes when they exit. It might also be feasible to have
galaxyctl restart <service>
find the right process andSIGTERM
it.galaxyctl graceful
could use the same process to terminate the gunicorns and do health checks the way it does for other PMs.Beta Was this translation helpful? Give feedback.
All reactions