Files
docker-cli/components/engine/daemon
Michael Crosby 53c33cc1be Add --oom-score-adjust to daemon
This adds an `--oom-score-adjust` flag to the daemon so that the value
provided can be set for the docker daemon's process.  The default value
for the flag is -500.  This will allow the docker daemon to have a
less chance of being killed before containers do.  The default value for
processes is 0 with a min/max of -1000/1000.

-500 is a good middle ground because it is less than the default for
most processes and still not -1000 which basically means never kill this
process in an OOM condition on the host machine.  The only processes on
my machine that have a score less than -500 are dbus at -900 and sshd
and xfce( my window manager ) at -1000.  I don't think docker should be
set lower, by default, than dbus or sshd so that is why I chose -500.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
Upstream-commit: a894aec8d81de5484152a76d76b80809df9edd71
Component: engine
2016-07-12 15:53:15 -07:00
..
2016-05-06 16:08:53 -07:00
2016-07-12 15:53:15 -07:00
2016-02-03 10:43:01 -08:00
2016-06-11 13:16:55 -07:00
2016-06-30 11:32:49 -07:00
2016-07-08 17:26:42 -07:00
2016-06-27 10:23:37 -07:00
2016-06-27 10:23:37 -07:00
2016-06-11 19:42:38 +02:00
2016-06-21 15:29:25 +08:00
2016-06-02 19:12:20 -07:00