summaryrefslogtreecommitdiffstats
path: root/man/systemd-system.conf.xml
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-09-30 11:32:43 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-04 16:27:11 +0200
commit643006f62bca5e6f16c51ff67ca06e374e6f8dc3 (patch)
tree05d892650c079f93346f8b689d2ac9f424007273 /man/systemd-system.conf.xml
parentunits: run user service managers at OOM score adjustment 100 (diff)
downloadsystemd-643006f62bca5e6f16c51ff67ca06e374e6f8dc3.tar.xz
systemd-643006f62bca5e6f16c51ff67ca06e374e6f8dc3.zip
man: document the new DefaultOOMScoreAdjust= setting
Diffstat (limited to 'man/systemd-system.conf.xml')
-rw-r--r--man/systemd-system.conf.xml14
1 files changed, 14 insertions, 0 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index 5824e01e0c..ca36a64deb 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -450,6 +450,20 @@
for details. Note that this default is not used for services that have <varname>Delegate=</varname>
turned on.</para></listitem>
</varlistentry>
+
+ <varlistentry>
+ <term><varname>DefaultOOMScoreAdjust=</varname></term>
+
+ <listitem><para>Configures the default OOM score adjustments of processes run by the service
+ manager. This defaults to unset (meaning the forked off processes inherit the service manager's OOM
+ score adjustment value), except if the service manager is run for an unprivileged user, in which case
+ this defaults to the service manager's OOM adjustment value plus 100 (this makes service processes
+ slightly more likely to be killed under memory pressure than the manager itself). This may be used to
+ pick a global default for the per-unit <varname>OOMScoreAdjust=</varname> setting. See
+ <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry> for
+ details. Note that this setting has no effect on the OOM score adjustment value of the service
+ manager process itself, it retains the original value set during its invocation.</para></listitem>
+ </varlistentry>
</variablelist>
</refsect1>