Details
-
Feature
-
Status: Released (View Workflow)
-
Minor
-
Resolution: Fixed
-
None
Description
Current Situation
JUA can only kill the main process of a job but not it's child processes
Desired Behaviour
- A Kill for a JUA task kills child processes as well
- This requires an OS-specific implementation
- JUA starts every task (shell or java) with an agent task id and sets an additional parameter -agent-task-id=...
- A command line parameter -kill-script sets a script for killing tasks
- If a task needs to be killed (because of a kill task command or timeout)
- JUA executes the script found in -kill-script and adds the parameter -kill-agent-task-id=...
- The script searches for the process that was executed with -agent-task-id=... and kills the process and it's children
- If -kill-script is not set, JUA performs a simple java kill (which does not kill the children of the process)
- JUA executes the script found in -kill-script and adds the parameter -kill-agent-task-id=...
Attachments
Issue Links
- is duplicated by
-
JS-1382 JobScheduler Universal Agent: kill a running task (including child processes)
- Dismissed
- is related to
-
DOC-35 Add documentation for terminating tasks
- Approved
-
JS-1495 Integrate task kill features into JobScheduler Universal Agent start script
- Released
-
JS-1551 JobScheduler Agent maintains a list of running tasks
- Released
-
JS-1558 Agent includes OS-specific kill scripts
- Released
- relates to
-
JS-1382 JobScheduler Universal Agent: kill a running task (including child processes)
- Dismissed
- mentioned in
-
Page Loading...