Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
hot-restarter.py: revert SIGCHLD handler to force kill instead of term (
envoyproxy#2640) PR: envoyproxy#2596 changed the behavior of the SIGTERM and SIGCHLD handlers to attempt to allow child processes to exit gracefully before force killing them. This PR reverts the behavior of the SIGCHLD handler back to force killing children if a child exits uncleanly. This should allow the supervisor of the python process (e.g. runit) to restart envoy with a shorter delay (whereas an attempt at graceful TERM might delay up to TERM_WAIT_SECONDS). Note: If the child process of hot-restarter.py is a container framework (e.g. runc), the force kill might result in container state being leaked. This should hopefully be a rare occurrence. Signed-off-by: Michael Puncel <[email protected]>
- Loading branch information