diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-04-16 00:42:44 -0700 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2021-04-16 09:50:44 +0100 |
commit | 169be51f94b7017fea1394dcb412d3afdfd7cea5 (patch) | |
tree | 41cc4dc3d90580506be018fc76f7a87b84f313e1 | |
parent | bc32241e6a0b66a5698c32d573ae53df50e1e159 (diff) | |
download | systemd-169be51f94b7017fea1394dcb412d3afdfd7cea5.tar.gz |
man: correct requirements for systemd-oomd.service
Fixes: #19331
-rw-r--r-- | man/systemd-oomd.service.xml | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/man/systemd-oomd.service.xml b/man/systemd-oomd.service.xml index ebd2467ee2..86c47e5b57 100644 --- a/man/systemd-oomd.service.xml +++ b/man/systemd-oomd.service.xml @@ -48,10 +48,9 @@ <title>Setup Information</title> <para>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 <command>systemd-oomd</command>. - The easiest way to turn on resource accounting is by ensuring the values for <varname>DefaultCPUAccounting</varname>, - <varname>DefaultIOAccounting</varname>, <varname>DefaultMemoryAccounting</varname>, and - <varname>DefaultTasksAccounting</varname> are set to <constant>true</constant> in + Furthermore, memory accounting must be turned on for all units monitored by <command>systemd-oomd</command>. + The easiest way to turn on memory accounting is by ensuring the value for <varname>DefaultMemoryAccounting=</varname> + is set to <constant>true</constant> in <citerefentry><refentrytitle>systemd-system.conf</refentrytitle><manvolnum>5</manvolnum></citerefentry>.</para> <para>You will need a kernel compiled with PSI support. This is available in Linux 4.20 and above.</para> |