diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-08-31 12:28:54 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-08-31 12:28:54 +0200 |
commit | cf08b48642cb78ca142e97fbbdb717043df77c0d (patch) | |
tree | 70659a34c9b7928fa894495078af49c96a3cd0ad /man | |
parent | 33eb97f626c82b5a665530c8aa1307cddbcde22d (diff) | |
parent | 96e131ea091f748780776b81b7163f8084ed8244 (diff) |
core: introduce MemorySwapMax= (#3659)
Similar to MemoryMax=, MemorySwapMax= limits swap usage. This controls
controls "memory.swap.max" attribute in unified cgroup.
Diffstat (limited to 'man')
-rw-r--r-- | man/systemd.resource-control.xml | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/man/systemd.resource-control.xml b/man/systemd.resource-control.xml index 84dbfa2ff3..c11f420fe5 100644 --- a/man/systemd.resource-control.xml +++ b/man/systemd.resource-control.xml @@ -326,6 +326,24 @@ </varlistentry> <varlistentry> + <term><varname>MemorySwapMax=<replaceable>bytes</replaceable></varname></term> + + <listitem> + <para>Specify the absolute limit on swap usage of the executed processes in this unit.</para> + + <para>Takes a swap size in bytes. If the value is suffixed with K, M, G or T, the specified swap size is + parsed as Kilobytes, Megabytes, Gigabytes, or Terabytes (with the base 1024), respectively. If assigned the + special value <literal>infinity</literal>, no swap limit is applied. This controls the + <literal>memory.swap.max</literal> control group attribute. For details about this control group attribute, + see <ulink url="https://www.kernel.org/doc/Documentation/cgroup-v2.txt">cgroup-v2.txt</ulink>.</para> + + <para>Implies <literal>MemoryAccounting=true</literal>.</para> + + <para>This setting is supported only if the unified control group hierarchy is used.</para> + </listitem> + </varlistentry> + + <varlistentry> <term><varname>MemoryLimit=<replaceable>bytes</replaceable></varname></term> <listitem> |