Increase upstart kill timeout to 20 seconds

Give Docker more time to kill containers before upstart kills Docker.
The default kill timeout is 5 seconds.
This will help decrease the chance of but not eliminate the chance of
orphaned container processes.

Signed-off-by: David Xia <dxia@spotify.com>
This commit is contained in:
David Xia 2015-05-20 14:15:47 -04:00
parent c6d9c904af
commit 2f9e7a067a

View file

@ -7,6 +7,8 @@ limit nproc 524288 1048576
respawn
kill timeout 20
pre-start script
# see also https://github.com/tianon/cgroupfs-mount/blob/master/cgroupfs-mount
if grep -v '^#' /etc/fstab | grep -q cgroup \