From 809256c36c54e73de70454506a87ea18c00fb9e7 Mon Sep 17 00:00:00 2001 From: Dmitry Vyukov Date: Wed, 18 Jul 2018 11:14:00 +0200 Subject: [PATCH] dashboard/config: add fs.mount-max = 100 sysctl See "mnt: Add a per mount namespace limit on the number of mounts" commit for details. --- dashboard/config/upstream.sysctl | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/dashboard/config/upstream.sysctl b/dashboard/config/upstream.sysctl index 25e6e737..a54e8450 100644 --- a/dashboard/config/upstream.sysctl +++ b/dashboard/config/upstream.sysctl @@ -1,6 +1,16 @@ +# This is part of deterministic hang/stall detection. +# Don't change this without considering workqueue.watchdog_thresh, +# CONFIG_RCU_CPU_STALL_TIMEOUT and CONFIG_DEFAULT_HUNG_TASK_TIMEOUT. kernel.watchdog_thresh = 55 +# This gives more interesting coverage. net.core.bpf_jit_enable = 1 +# bpf_jit_kallsyms and disabling bpf_jit_harden are required +# for unwinding through bpf functions. net.core.bpf_jit_kallsyms = 1 net.core.bpf_jit_harden = 0 +# This is to provide more useful info in crash reports. kernel.kptr_restrict = 0 kernel.softlockup_all_cpu_backtrace = 1 +# This is to restrict effects of recursive exponential mounts, for details see +# "mnt: Add a per mount namespace limit on the number of mounts" commit. +fs.mount-max = 100