You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SIGKILL (9) is harsh
Using SIGKILL to kill my job doesn't let it shutdown gracefully. My particular application will write a checkpoint and exit for a SIGTERM. Additionally, if you have a wrapper that launched a subprocess, you can (I do) end up with an orphaned subprocess.
I have a few ideas
Not 100% what would be the best way...
Just change KILL_SIGNAL to SIGTERM, not a good idea.
Making KILL_SIGNAL layer option defaulting to what is set in rqconstants.py at runtime might be the lest disruptive, forgoing the term then kill approach. DB/cuebot/proto/rqd edits
Have rqd check for layer flag and kill based on that. less visible, but only rqd edits
Expose KILL_SIGNAL to rqd overrides, it become a per machine thing. just a little rqd edits
SIGTERM, timeout to SIGKILL approach, die or I kill you approach. What is the timeout? overrides?
The text was updated successfully, but these errors were encountered:
SIGKILL (9) is harsh
Using SIGKILL to kill my job doesn't let it shutdown gracefully. My particular application will write a checkpoint and exit for a SIGTERM. Additionally, if you have a wrapper that launched a subprocess, you can (I do) end up with an orphaned subprocess.
I have a few ideas
Not 100% what would be the best way...
The text was updated successfully, but these errors were encountered: