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:
parent
c6d9c904af
commit
2f9e7a067a
1 changed files with 2 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue