sysctl.d: Fix pid_max comment

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
This commit is contained in:
Michal Koutný 2023-10-30 18:33:51 +01:00
parent d203e5e008
commit 761791bcf8

View file

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