From 154fbc6a83e5fa244d5d5e7f615bfd0a55eddc0c Mon Sep 17 00:00:00 2001 From: Benjamin Fair Date: Mon, 1 Jul 2024 18:36:13 +0000 Subject: meta-google: sysctl: set pid_max to 32k This is already the default for 32-bit machines. Reduce it on 64-bit machines to limit the range of PIDs that will be handled by our metrics collector. Signed-off-by: Benjamin Fair Change-Id: I209317df2574b335e9e435d8b0ff1faef31ffcc3 --- meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf b/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf index ee4b4859a7..5b3fa9e43d 100644 --- a/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf +++ b/meta-google/recipes-google/systemd/files/40-gbmc-sysctl.conf @@ -1 +1,3 @@ kernel.oops_all_cpu_backtrace = 1 +# limit PID numbers to 32k for metrics collector +kernel.pid_max = 32768 -- cgit v1.2.3