Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DLPX-72326 Use OOMD instead of the kernel's OOM killer #297

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions files/common/etc/default/grub.d/override.cfg
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,15 @@ GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT init_on_alloc=0"
# Disable the USB subsystem in its entirety for security reasons.
#
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT usbcore.nousb=1"

#
# Enable cgroups v2
#
# At the time of this writing we are using Ubuntu 18.04 which has
# support for cgroups v2 but it is not enabled by default. We can
# consider removing this when we move to future releases.
#
# The appstack doesn't have any hard requirements in the cgroup
# version but OOMD needs the system to use v2 so it can operate.
#
GRUB_CMDLINE_LINUX_DEFAULT="$GRUB_CMDLINE_LINUX_DEFAULT systemd.unified_cgroup_hierarchy=1"