From: Lennart Poettering Date: Thu, 30 Sep 2021 09:32:43 +0000 (+0200) Subject: man: document the new DefaultOOMScoreAdjust= setting X-Git-Tag: v250-rc1~569^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=643006f62bca5e6f16c51ff67ca06e374e6f8dc3;p=thirdparty%2Fsystemd.git man: document the new DefaultOOMScoreAdjust= setting --- diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index 5824e01e0c8..ca36a64debd 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 Delegate= turned on. + + + DefaultOOMScoreAdjust= + + 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 OOMScoreAdjust= setting. See + systemd.exec5 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. +