Files
containerd/runtime/v1/shim
Ashray Jain 3e95727f39 Make killing shims more resilient
Currently, we send a single SIGKILL to the shim process
once and then we spin in a loop where we use kill(pid, 0)
to detect when the pid has disappeared completely.

Unfortunately, this has a race condition since pids can be reused causing us
to spin in an infinite loop when that happens.

This adds a timeout to this loop which logs a warning and exits the
infinite loop.

Signed-off-by: Ashray Jain <ashrayj@palantir.com>
2020-06-03 12:57:08 +01:00
..
2020-06-03 12:57:08 +01:00
2020-02-26 10:57:05 +09:00
2018-07-17 10:21:29 -04:00
2019-03-12 12:18:28 -04:00