dkron
dkron copied to clipboard
Stop hung process
How to kill a hung process running from shell? Add kill function?
You're a bit stingy with information, so it's not quite clear if this is a support request or a feature request.
A few thoughts:
- The shell executor was recently fitted with a timeout
setting that kills the shell job when the timeout is reached.
- It is possible to kill the process on the command line, if you have access to the server.
- It is always better to fix the problematic process than to resort to killing it.
It would be helpful if you can elaborate on your issue.
For example, there are many different processes that deal with calculations and some may hang. You need to remove them without access to the server. It will finish on the kill -9 signal. Timeout is not suitable, as processes can last for different times
I am using the timeout setting. But would be great to force a kill as well.
A feature request, then. Worth adding, I think, though maybe tricky to do this consistently for all executors. @victorcoder WDYT?
Any word on this @victorcoder? It would be an amazing feature to see a kill button next to the running job in the busy tab of the web ui
This has been requested before but now I can not find the issue #
You are right @yvanoers, it should have a custom implementation for each executor, but it should be possible.
Adding this to the roadmap