On Wed, Jul 20, 2022, at 3:17 PM, hai wu wrote: > Is there any configuration file that is needed to ensure guest domains > are under systemd machine.slice? not seeing anything under > machine.slice .. I think that https://www.freedesktop.org/software/systemd/man/systemd.slice.html and https://libvirt.org/cgroups.html covers this for libvirt managed VMs. > > On Wed, Jul 20, 2022 at 3:33 PM Dmitriy Rabotyagov > <noonedeadpunk at gmail.com> wrote: >> >> I believe you can decrease OOMScoreAdjust for systemd machines.slice, under which guest domains are to reduce chances of oom killing them. >> >> ср, 20 июл. 2022 г., 21:52 hai wu <haiwu.us at gmail.com>: >>> >>> nova hypervisor sometimes oom would kill some openstack guests. >>> >>> Is it possible to not allow kernel to oom kill any openstack guests? >>> ram is not oversubscribed much .. >>>