]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: correct requirements for systemd-oomd.service
authorAnita Zhang <the.anitazha@gmail.com>
Fri, 16 Apr 2021 07:42:44 +0000 (00:42 -0700)
committerLuca Boccassi <luca.boccassi@gmail.com>
Fri, 16 Apr 2021 08:50:44 +0000 (09:50 +0100)
Fixes: #19331
man/systemd-oomd.service.xml

index ebd2467ee2323cce3e62c932fa684388fc02fe48..86c47e5b572c39373af9da33afe941ec4cb616de 100644 (file)
     <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>