Open to adding the ability to restart workers
See original GitHub issueHi y’all!
First off, thank you for a really great Github project. We use it here at RTR and its added a lot of rigor around the server-side rendering from our Ruby app.
Onto the issue. Would you be open to a PR which allows the hypernova master process to restart its workers after a specific number of requests. We currently have a job calling SIGTERM on the workers due to memory leaks resulting from our not using createGetComponent
.
We have a lot of top level modules and so we opted to not go that route for now and are wondering what your opinion would be on allowing for a hybrid approach, similar to what unicorn-worker-killer
does for Ruby.
Thanks again!
Issue Analytics
- State:
- Created 6 years ago
- Comments:5
Top Results From Across the Web
Add the ability to set different "restart policies" on process ...
In my case, I have one worker per CPU, and I'm using a local HAProxy to "simulate" a single server. I'd like to...
Read more >Settings — Gunicorn 20.1.0 documentation
Restart workers when code changes. This setting is intended for development. It will cause workers to be restarted whenever application code changes.
Read more >Session retry on worker restart - Community Support - Temporal
We have a workflow that uses session When the worker restart for any reason (new deployment for example) we need to retry the...
Read more >Control Worker Restarts - MATLAB & Simulink - MathWorks
Restart Workers Based on Up Time · If the server instance is running, stop it. · Open the configuration file for the instance...
Read more >RQ: Workers
Each worker will process a single job at a time. Within a worker, there is no concurrent processing going on. If you want...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
@ljharb & @goatslacker, I’m going to start off with a PR or perhaps just a hook to be able to send a worker an
exit
message and will go from there.Hey @Will-Sommers. Were you able to make any progress on this? Or care to share a bit about your current setup? Thanks!