diff options
author | Michal Koutný <mkoutny@suse.com> | 2023-10-30 18:33:51 +0100 |
---|---|---|
committer | Michal Koutný <mkoutny@suse.com> | 2023-10-31 13:07:49 +0100 |
commit | 761791bcf83219f44fc799a2e4326121486817b4 (patch) | |
tree | 4b52334743eeacb41571af1c9ff2556abe591699 /sysctl.d | |
parent | test: add one missing cleanup (diff) | |
download | systemd-761791bcf83219f44fc799a2e4326121486817b4.tar.xz systemd-761791bcf83219f44fc799a2e4326121486817b4.zip |
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
Diffstat (limited to 'sysctl.d')
-rw-r--r-- | sysctl.d/50-pid-max.conf | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysctl.d/50-pid-max.conf b/sysctl.d/50-pid-max.conf index 1eff2d7ece..2beaf48f21 100644 --- a/sysctl.d/50-pid-max.conf +++ b/sysctl.d/50-pid-max.conf @@ -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 |