1 2 3 4 5 6 7 8 9 10 11 12 13
|
# Additional options that are passed to the Daemon.
DAEMON_OPTS="--interval 1 --config /etc/oomd/oomd.json --cgroup-fs /sys/fs/cgroup/unified"
# With Debian's default cgroup setup (hybrid cgroup hierarchies),
# `--cgroup-fs /sys/fs/cgroup/unified` is required, otherwise oomd will refuse
# to start:
# oomd: /sys/fs/cgroup is not a valid cgroup2 filesystem
#
# With unified cgroup hierarchy (could be enabled by kernel command line
# `cgroup_no_v1=all` or `systemd.unified_cgroup_hierarchy=1`) this argument must
# be removed.
#
# See #956431, https://github.com/facebookincubator/oomd/issues/128
|