mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
cf7a5be0f2
This patch makes two changes if --oom-score-adj is set to 0 - do not adjust the oom-score-adjust cgroup for dockerd - do not set the hard-coded -999 score for containerd if containerd is running as child process Before this change: oom-score-adj | dockerd | containerd as child-process --------------|---------------|---------------------------- - | -500 | -500 (same as dockerd) -100 | -100 | -100 (same as dockerd) 0 | 0 | -999 (hard-coded default) With this change: oom-score-adj | dockerd | containerd as child-process --------------|---------------|---------------------------- - | -500 | -500 (same as dockerd) -100 | -100 | -100 (same as dockerd) 0 | not adjusted | not adjusted Signed-off-by: Sebastiaan van Stijn <github@gone.nl> |
||
---|---|---|
.. | ||
remote_daemon.go | ||
remote_daemon_linux.go | ||
remote_daemon_options.go | ||
remote_daemon_options_linux.go | ||
remote_daemon_windows.go | ||
utils_linux.go | ||
utils_windows.go |