Files
containerd/runtime
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-02-26 10:57:05 +09:00
2019-12-12 02:56:51 +09:00
2018-07-30 10:21:04 -04:00
2020-06-03 12:57:08 +01:00
2018-02-19 10:32:26 +09:00
2018-02-19 10:32:26 +09:00
2018-07-17 10:21:29 -04:00
2019-07-26 17:48:00 +00:00
2018-02-19 10:32:26 +09:00