summaryrefslogtreecommitdiff
path: root/man
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2021-09-30 11:21:18 +0200
committerLennart Poettering <lennart@poettering.net>2021-10-04 16:27:10 +0200
commitd4a402e4f6935cd7fa9ae8ea01b30944d9fcb3d0 (patch)
treeb0ee82844d5cf531cab860a1945b55a9c95a353e /man
parentbb2d1d8ea40a2330c5f0a9245c32e5a05829bbf2 (diff)
downloadsystemd-d4a402e4f6935cd7fa9ae8ea01b30944d9fcb3d0.tar.gz
core: add a new setting DefaultOOMScoreAdjust= and set it to 100 above service manager's by default
Let's make our service managers slightly less likely to be killed by the OOM killer by adjusting our services' OOM score adjustment to 100 above ours. Do this conservatively, i.e. only for regular user sessions.
Diffstat (limited to 'man')
-rw-r--r--man/org.freedesktop.systemd1.xml6
1 files changed, 6 insertions, 0 deletions
diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml
index dd6f17519d..bede222670 100644
--- a/man/org.freedesktop.systemd1.xml
+++ b/man/org.freedesktop.systemd1.xml
@@ -493,6 +493,8 @@ node /org/freedesktop/systemd1 {
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s DefaultOOMPolicy = '...';
@org.freedesktop.DBus.Property.EmitsChangedSignal("const")
+ readonly i DefaultOOMScoreAdjust = ...;
+ @org.freedesktop.DBus.Property.EmitsChangedSignal("const")
readonly s CtrlAltDelBurstAction = '...';
};
interface org.freedesktop.DBus.Peer { ... };
@@ -735,6 +737,8 @@ node /org/freedesktop/systemd1 {
<!--property DefaultOOMPolicy is not documented!-->
+ <!--property DefaultOOMScoreAdjust is not documented!-->
+
<!--property CtrlAltDelBurstAction is not documented!-->
<!--Autogenerated cross-references for systemd.directives, do not edit-->
@@ -1131,6 +1135,8 @@ node /org/freedesktop/systemd1 {
<variablelist class="dbus-property" generated="True" extra-ref="DefaultOOMPolicy"/>
+ <variablelist class="dbus-property" generated="True" extra-ref="DefaultOOMScoreAdjust"/>
+
<variablelist class="dbus-property" generated="True" extra-ref="CtrlAltDelBurstAction"/>
<!--End of Autogenerated section-->