1
0
mirror of https://github.com/systemd/systemd synced 2024-06-29 06:34:30 +00:00

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
# 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