From 2e3591a4fdd9c46be7bd34f3ff41c0d58dbe23d2 Mon Sep 17 00:00:00 2001 From: Nishal Kulkarni Date: Mon, 14 Mar 2022 00:41:11 +0530 Subject: [PATCH] man: Mention systemd-oomd now follows OOMPolicy --- man/systemd-system.conf.xml | 2 +- man/systemd.exec.xml | 2 +- man/systemd.service.xml | 6 +++++- 3 files changed, 7 insertions(+), 3 deletions(-) diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index 400e35c4574..b104044cc26 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -505,7 +505,7 @@ DefaultOOMPolicy= Configure the default policy for reacting to processes being killed by the Linux - Out-Of-Memory (OOM) killer. This may be used to pick a global default for the per-unit + Out-Of-Memory (OOM) killer or systemd-oomd. This may be used to pick a global default for the per-unit OOMPolicy= setting. See systemd.service5 for details. Note that this default is not used for services that have Delegate= diff --git a/man/systemd.exec.xml b/man/systemd.exec.xml index 89a6c337594..5bb1679aea4 100644 --- a/man/systemd.exec.xml +++ b/man/systemd.exec.xml @@ -1039,7 +1039,7 @@ CapabilityBoundingSet=~CAP_B CAP_C normally at 0. Use the OOMPolicy= setting of service units to configure how the service - manager shall react to the kernel OOM killer terminating a process of the service. See + manager shall react to the kernel OOM killer or systemd-oomd terminating a process of the service. See systemd.service5 for details. diff --git a/man/systemd.service.xml b/man/systemd.service.xml index 95cb0aca3d4..4e4a9732e41 100644 --- a/man/systemd.service.xml +++ b/man/systemd.service.xml @@ -1140,7 +1140,11 @@ shall be considered preferred or less preferred candidates for process termination by the Linux OOM killer logic. See systemd.exec5 for - details. + details. + + This setting also applies to systemd-oomd, similar to kernel OOM kills + this setting determines the state of the service after systemd-oomd kills a cgroup associated + with the service. -- 2.47.3