From: Michal Koutný Date: Mon, 30 Oct 2023 17:33:51 +0000 (+0100) Subject: sysctl.d: Fix pid_max comment X-Git-Tag: v255-rc1~78^2~1 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=761791bcf83219f44fc799a2e4326121486817b4;p=thirdparty%2Fsystemd.git 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 --- diff --git a/sysctl.d/50-pid-max.conf b/sysctl.d/50-pid-max.conf index 1eff2d7ecee..2beaf48f21f 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