From 169be51f94b7017fea1394dcb412d3afdfd7cea5 Mon Sep 17 00:00:00 2001 From: Anita Zhang Date: Fri, 16 Apr 2021 00:42:44 -0700 Subject: [PATCH] man: correct requirements for systemd-oomd.service Fixes: #19331 --- man/systemd-oomd.service.xml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/man/systemd-oomd.service.xml b/man/systemd-oomd.service.xml index ebd2467ee23..86c47e5b572 100644 --- a/man/systemd-oomd.service.xml +++ b/man/systemd-oomd.service.xml @@ -48,10 +48,9 @@ Setup Information The system must be running systemd with a full unified cgroup hierarchy for the expected cgroups-v2 features. - Furthermore, resource accounting must be turned on for all units monitored by systemd-oomd. - The easiest way to turn on resource accounting is by ensuring the values for DefaultCPUAccounting, - DefaultIOAccounting, DefaultMemoryAccounting, and - DefaultTasksAccounting are set to true in + Furthermore, memory accounting must be turned on for all units monitored by systemd-oomd. + The easiest way to turn on memory accounting is by ensuring the value for DefaultMemoryAccounting= + is set to true in systemd-system.conf5. You will need a kernel compiled with PSI support. This is available in Linux 4.20 and above. -- 2.47.3