]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
man: Mention systemd-oomd now follows OOMPolicy 22629/head
authorNishal Kulkarni <nishalkulkarni@gmail.com>
Sun, 13 Mar 2022 19:11:11 +0000 (00:41 +0530)
committerNishal Kulkarni <nishalkulkarni@gmail.com>
Tue, 22 Mar 2022 12:34:52 +0000 (18:04 +0530)
man/systemd-system.conf.xml
man/systemd.exec.xml
man/systemd.service.xml

index 400e35c457452e96fc65539f137d1088e88a143b..b104044cc265b94d6a577bdc24a61a3437f4ac24 100644 (file)
         <term><varname>DefaultOOMPolicy=</varname></term>
 
         <listitem><para>Configure the default policy for reacting to processes being killed by the Linux
-        Out-Of-Memory (OOM) killer. This may be used to pick a global default for the per-unit
+        Out-Of-Memory (OOM) killer or <command>systemd-oomd</command>. This may be used to pick a global default for the per-unit
         <varname>OOMPolicy=</varname> setting. See
         <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         for details. Note that this default is not used for services that have <varname>Delegate=</varname>
index 89a6c3375947b73f9ef36b929e2e20cb0fa618b8..5bb1679aea43846757ceb683d106e55325308091 100644 (file)
@@ -1039,7 +1039,7 @@ CapabilityBoundingSet=~CAP_B CAP_C</programlisting>
         normally at 0.</para>
 
         <para>Use the <varname>OOMPolicy=</varname> setting of service units to configure how the service
-        manager shall react to the kernel OOM killer terminating a process of the service.  See
+        manager shall react to the kernel OOM killer or <command>systemd-oomd</command> terminating a process of the service.  See
         <citerefentry><refentrytitle>systemd.service</refentrytitle><manvolnum>5</manvolnum></citerefentry>
         for details.</para></listitem>
       </varlistentry>
index 95cb0aca3d467e07e782ac779e4ae4d130f71f0d..4e4a9732e414cb7266ab15740a6fac63dcab9d8b 100644 (file)
         shall be considered preferred or less preferred candidates for process termination by the Linux OOM
         killer logic. See
         <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
-        details.</para></listitem>
+        details.</para>
+
+        <para>This setting also applies to <command>systemd-oomd</command>, similar to kernel OOM kills
+        this setting determines the state of the service after <command>systemd-oomd</command> kills a cgroup associated
+        with the service.</para></listitem>
       </varlistentry>
 
     </variablelist>