man: make it clear how systemd calculate the DefaultTasksMax.
authorEinsler Lee <shenxiaogll@163.com>
Sat, 30 Jan 2021 03:14:35 +0000 (11:14 +0800)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Tue, 2 Feb 2021 13:52:53 +0000 (14:52 +0100)
commiteb6910c8ab1eaf52d9a458a46a3dff551728555a
tree9814431186b576e7bbca488b4d2e90892a91a4ba
parentab9f7e1a51005f12d3bac83b86716d9d33048eb7
man: make it clear how systemd calculate the DefaultTasksMax.

Actually, systemd takes the minimum of
* a) the maximum tasks value the kernel allows on this architecture
* b) the cgroups pids_max attribute for the system
* c) the kernel's configured maximum PID value
to calculate the DefaultTasksMax. Here, kernel.thread-max should also be methioned.

(cherry picked from commit 9c587d66187976de49e2d2028cebe1aef5b77b9c)
man/systemd-system.conf.xml