From 34507fa9e9c39dfe1b8678ea7140b407a0f39d77 Mon Sep 17 00:00:00 2001 From: Zbigniew Jędrzejewski-Szmek Date: Thu, 25 Feb 2021 21:13:47 +0100 Subject: man: remove details of ManagedOOMPreference implementation --- man/systemd.resource-control.xml | 26 +++++++++++--------------- 1 file changed, 11 insertions(+), 15 deletions(-) (limited to 'man/systemd.resource-control.xml') diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 7062cd3637..1bc45a9f00 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -944,27 +944,23 @@ DeviceAllow=/dev/loop-control systemd-oomd will ignore these extended attributes if the unit's cgroup is not owned by the root user. - If this property is set to , the service manager will set the - user.oomd_avoid extended attribute on the unit's cgroup to 1. - If systemd-oomd sees this extended attribute on a cgroup set to - 1 when choosing between candidates, it will only select the cgroup with - user.oomd_avoid if there are no other viable candidates. - - If this property is set to , the service manager will set the - user.oomd_omit extended attribute on the unit's cgroup to 1. - If systemd-oomd sees the this extended attribute on the cgroup set to - 1, it will ignore the cgroup as a candidate and will not perform any actions on - the cgroup. + If this property is set to , the service manager will convey this to + systemd-oomd, which will only select this cgroup if there are no other viable + candidates. + + If this property is set to , the service manager will convey this to + systemd-oomd, which will ignore this cgroup as a candidate and will not perform + any actions on it. It is recommended to use and sparingly, as it can adversely affect systemd-oomd's kill behavior. Also note that these extended attributes are not applied recursively to cgroups under this unit's cgroup. - Defaults to which means no extended attributes will be set and - systemd-oomd will sort this unit's cgroup as defined in + Defaults to which means systemd-oomd will rank this + unit's cgroup as defined in systemd-oomd.service8 - and oomd.conf5 - (if this unit's cgroup becomes a candidate). + and oomd.conf5. + -- cgit v1.2.3