commit | 154fbc6a83e5fa244d5d5e7f615bfd0a55eddc0c | [log] [tgz] |
---|---|---|
author | Benjamin Fair <benjaminfair@google.com> | Mon Jul 01 18:36:13 2024 +0000 |
committer | Benjamin Fair <benjaminfair@google.com> | Mon Jul 01 20:42:35 2024 +0000 |
tree | ac74348c83fc7b8aa5d4e8a5117999b53eda4341 | |
parent | d0aa2625ca62e8e65ae49d03085bedb0e7acd935 [diff] |
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 <benjaminfair@google.com> Change-Id: I209317df2574b335e9e435d8b0ff1faef31ffcc3
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 ee4b485..5b3fa9e 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