From 39ef994a18d7754da2ed09cc996a32ef52a8d404 Mon Sep 17 00:00:00 2001 From: Jan Jansky Date: Mon, 21 Mar 2022 10:55:28 +0100 Subject: [cgroups] not collect memory.kmem.slabinfo Forbid collection of memory.kmem.slabinfo which in case of system with lot of containers may cause stuck kworker. Resolves: #2889 Signed-off-by: Jan Jansky --- sos/report/plugins/cgroups.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/sos/report/plugins/cgroups.py b/sos/report/plugins/cgroups.py index 6b55c80a..6e2a6918 100644 --- a/sos/report/plugins/cgroups.py +++ b/sos/report/plugins/cgroups.py @@ -30,6 +30,9 @@ class Cgroups(Plugin, DebianPlugin, UbuntuPlugin, CosPlugin): ]) self.add_cmd_output("systemd-cgls") + self.add_forbidden_path( + "/sys/fs/cgroup/memory/**/memory.kmem.slabinfo", + recursive=True) return -- cgit