diff options
author | Lennart Poettering <lennart@poettering.net> | 2020-01-16 19:22:30 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2020-01-17 10:09:50 +0100 |
commit | 54ed193f8d481c4ba982a287c9cd322bcca585ee (patch) | |
tree | b960b6f4b92dcd2681e81ad4f7ebbd837063c572 /man/systemd-system.conf.xml | |
parent | 59d83463d18c1928cd3d6c4aa0bde6285d2af734 (diff) | |
download | systemd-54ed193f8d481c4ba982a287c9cd322bcca585ee.tar.gz |
man: clarify that user rlimits cannot go beyond limits set for service mgr
Fixes: #10758
Diffstat (limited to 'man/systemd-system.conf.xml')
-rw-r--r-- | man/systemd-system.conf.xml | 32 |
1 files changed, 8 insertions, 24 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml index e403fa5308..e22b335d30 100644 --- a/man/systemd-system.conf.xml +++ b/man/systemd-system.conf.xml @@ -382,30 +382,14 @@ <term><varname>DefaultLimitRTPRIO=</varname></term> <term><varname>DefaultLimitRTTIME=</varname></term> - <listitem><para>These settings control various default - resource limits for units. See - <citerefentry><refentrytitle>setrlimit</refentrytitle><manvolnum>2</manvolnum></citerefentry> - for details. The resource limit is possible to specify in two formats, - <option>value</option> to set soft and hard limits to the same value, - or <option>soft:hard</option> to set both limits individually (e.g. DefaultLimitAS=4G:16G). - Use the string <varname>infinity</varname> to - configure no limit on a specific resource. The multiplicative - suffixes K (=1024), M (=1024*1024) and so on for G, T, P and E - may be used for resource limits measured in bytes - (e.g. DefaultLimitAS=16G). For the limits referring to time values, - the usual time units ms, s, min, h and so on may be used (see - <citerefentry><refentrytitle>systemd.time</refentrytitle><manvolnum>7</manvolnum></citerefentry> - for details). Note that if no time unit is specified for - <varname>DefaultLimitCPU=</varname> the default unit of seconds is - implied, while for <varname>DefaultLimitRTTIME=</varname> the default - unit of microseconds is implied. Also, note that the effective - granularity of the limits might influence their - enforcement. For example, time limits specified for - <varname>DefaultLimitCPU=</varname> will be rounded up implicitly to - multiples of 1s. These settings may be overridden in individual units - using the corresponding LimitXXX= directives. Note that these resource - limits are only defaults for units, they are not applied to PID 1 - itself.</para></listitem> + <listitem><para>These settings control various default resource limits for processes executed by + units. See + <citerefentry><refentrytitle>setrlimit</refentrytitle><manvolnum>2</manvolnum></citerefentry> for + details. These settings may be overridden in individual units using the corresponding + <varname>LimitXXX=</varname> directives, see + <citerefentry><refentrytitle>systemd.exec</refentrytitle><manvolnum>5</manvolnum></citerefentry>, for + details, and they accept the same parameter syntax. Note that these resource limits are only defaults + for units, they are not applied to the service manager process (i.e. PID 1) itself.</para></listitem> </varlistentry> <varlistentry> |