summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPavel Sapezhko <me@weastur.com>2020-11-18 17:54:01 +0300
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2020-12-08 18:08:31 +0100
commit298477a1c90a187f389037e80bf826ac94834162 (patch)
tree0934ded4bdcc49f9f077ad541ea89fbf3610ee25
parent4345b638a815c66445b5daab52ae780eecfd928c (diff)
downloadsystemd-298477a1c90a187f389037e80bf826ac94834162.tar.gz
man: clarify DefaultTasksMax doc
(cherry picked from commit 77f5277a7abf7d6b0a4bbf4ecf872da0b92335b5)
-rw-r--r--man/systemd-system.conf.xml6
1 files changed, 4 insertions, 2 deletions
diff --git a/man/systemd-system.conf.xml b/man/systemd-system.conf.xml
index c64e57c277..22d33d451b 100644
--- a/man/systemd-system.conf.xml
+++ b/man/systemd-system.conf.xml
@@ -361,8 +361,10 @@
<listitem><para>Configure the default value for the per-unit <varname>TasksMax=</varname> setting. See
<citerefentry><refentrytitle>systemd.resource-control</refentrytitle><manvolnum>5</manvolnum></citerefentry>
for details. This setting applies to all unit types that support resource control settings, with the exception
- of slice units. Defaults to 15%, which equals 4915 with the kernel's defaults on the host, but might be smaller
- in OS containers.</para></listitem>
+ of slice units. Defaults to 15% of the sysctl setting <varname>kernel.pid_max=</varname> or root cgroup <varname>pids.max</varname>.
+ Kernel has a default value for <varname>kernel.pid_max=</varname> and an algorithm of counting in case of more than 32 cores.
+ For example with the default <varname>kernel.pid_max=</varname>, <varname>DefaultTasksMax=</varname> defaults to 4915,
+ but might be greater in other systems or smaller in OS containers.</para></listitem>
</varlistentry>
<varlistentry>