From: Anita Zhang Date: Fri, 16 Apr 2021 07:42:44 +0000 (-0700) Subject: man: correct requirements for systemd-oomd.service X-Git-Tag: v249-rc1~403 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=169be51f94b7017fea1394dcb412d3afdfd7cea5;p=thirdparty%2Fsystemd.git man: correct requirements for systemd-oomd.service Fixes: #19331 --- 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.