Page History
...
Terminating Child Processes starting from Release 2.7.2
- When terminating a job process, the Agent performs the following steps:
- collect chld process PIDs of job process,
- send SIGTERM to job process,
- wait for one of the following events, whichever arrives first:
- wait for Grace Timeout configured with the job,
- wait for stdout/stderr to be released by the job process.
- send SIGKILL to job process if Grace Timeout is exceeded,
- send SIGTERM to child processes for which PIDs have previously been collected; send SIGTERM recursively to child processes of a child process,
- wait for 50% of the duration of the Grace Timeout or for 1s whichever is the higher value,
- send SIGKILL signal to remaining child processes recursively.
- The Agent makes use of Java for process management.
- Users are free to use traps as explained with the below chapter. However, there is no need to add a trap to job scripts as the Agent by default will terminate child processes.
Terminating Child Processes starting from Release 2.1.1
...
- When terminating a job process, the Agent performs the following steps:
- collect chld process PIDs of job process,
- kill job process and any child processes.
- The Agent drops makes use of the kill_task.cmd script. Instead, Java is used for process management.
Terminating Child Processes starting from Release 2.1.1
...
Overview
Content Tools