]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
sysctl.d: Fix pid_max comment
authorMichal Koutný <mkoutny@suse.com>
Mon, 30 Oct 2023 17:33:51 +0000 (18:33 +0100)
committerMichal Koutný <mkoutny@suse.com>
Tue, 31 Oct 2023 12:07:49 +0000 (13:07 +0100)
The actual default is 2^15 and that is also 32b kernels default.
Fix the value, mention 32b and do not talk about default which may
depend on nr_cpus.

Fix: #29607

sysctl.d/50-pid-max.conf

index 1eff2d7ecee01b0b40b65416a9bd789ed3b05293..2beaf48f21fb0e478367a605158130967de98393 100644 (file)
@@ -11,6 +11,6 @@
 # (e.g. /etc/sysctl.d/90-override.conf), and put any assignments
 # there.
 
-# Bump the numeric PID range to its maximum of 2^22 (from the in-kernel default
-# of 2^16), to make PID collisions less likely.
+# Bump the numeric PID range to make PID collisions less likely.
+# 2^22 and 2^15 is possible maximum of 64bit and 32bit kernels respectively.
 kernel.pid_max = 4194304