mirror of
https://github.com/systemd/systemd.git
synced 2026-08-09 01:20:53 +00:00
dbus: Document org.freedesktop.systemd1.Service.MemoryAvailable property
The value is an optimistic estimate, make it clear in the docs.
This commit is contained in:
@@ -4603,10 +4603,11 @@ node /org/freedesktop/systemd1/unit/avahi_2ddaemon_2eservice {
|
||||
<varname>ExtensionDirectories</varname>
|
||||
see systemd.exec(5) for their meaning.</para>
|
||||
|
||||
<para><varname>MemoryAvailable</varname> indicates how much unused memory is available to the unit before
|
||||
the <literal>MemoryMax</literal> or <literal>MemoryHigh</literal> (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.</para>
|
||||
<para><varname>MemoryAvailable</varname> takes into account unit's and parents' <literal>MemoryMax</literal>
|
||||
or <literal>MemoryHigh</literal> 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 <varname>MemoryAccounting=yes</varname> on involved units.</para>
|
||||
|
||||
<para><varname>DelegateSubgroup</varname> 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
|
||||
|
||||
Reference in New Issue
Block a user