From 761791bcf83219f44fc799a2e4326121486817b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michal=20Koutn=C3=BD?= Date: Mon, 30 Oct 2023 18:33:51 +0100 Subject: [PATCH] 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 --- sysctl.d/50-pid-max.conf | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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