From: Michal Koutný Date: Thu, 7 Sep 2023 18:00:28 +0000 (+0200) Subject: dbus: Document org.freedesktop.systemd1.Service.MemoryAvailable property X-Git-Tag: v255-rc1~538^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F29117%2Fhead;p=thirdparty%2Fsystemd.git dbus: Document org.freedesktop.systemd1.Service.MemoryAvailable property The value is an optimistic estimate, make it clear in the docs. --- diff --git a/man/org.freedesktop.systemd1.xml b/man/org.freedesktop.systemd1.xml index 75d3d457bd3..4ca0583d655 100644 --- a/man/org.freedesktop.systemd1.xml +++ b/man/org.freedesktop.systemd1.xml @@ -4603,10 +4603,11 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice { ExtensionDirectories see systemd.exec(5) for their meaning. - MemoryAvailable indicates how much unused memory is available to the unit before - the MemoryMax or MemoryHigh (whichever is lower) limit set by the cgroup - memory controller is reached. It will take into consideration limits on all parent slices, other than the - limits set on the unit itself. + MemoryAvailable takes into account unit's and parents' MemoryMax + or MemoryHigh or physically available RAM versus given level's memory consumption + and takes minimum. Beware that other units below the tightest parent slice may consume the memory quicker + and less than reported value would remain for own allocation. + It works better in conjunction with MemoryAccounting=yes on involved units. DelegateSubgroup contains the cgroup subgroup to place invoked unit processes in. As configured by the option of the same name in unit files. This is set to the empty string when it