diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2021-04-16 00:42:44 -0700 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-05-15 19:33:17 +0200 |
commit | ad0bb9aeebadf956a18babb4f807d234ddade569 (patch) | |
tree | b7316ea8c3dae3e37d04285a7327478a9f1e09b0 | |
parent | 58f2b2bd2e7e8ec9c08df6c90bb633e939b80392 (diff) | |
download | systemd-ad0bb9aeebadf956a18babb4f807d234ddade569.tar.gz |
man: correct requirements for systemd-oomd.service
Fixes: #19331
(cherry picked from commit 169be51f94b7017fea1394dcb412d3afdfd7cea5)
(cherry picked from commit 7208e7465b6cb1563cad46f568c78c725790d237)
-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 9cb9c6076a..c4795107cc 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> |