Kernel slab top consumers troubleshooting
Sort slab caches by size; dentry/inode bloat explains kernel memory pressure
slabtop -o -s c | head -20
more troubleshooting
all 32 commands →
Reclaimable slab memory
grep -E 'Slab|SReclaimable|SUnreclaim' /proc/meminfo
OOM killer in dmesg
dmesg -T | grep -iE 'killed process|out of memory' | tail
OOM score of process
cat /proc/<pid>/oom_score /proc/<pid>/oom_score_adj
cgroup v2 OOM events
cat /sys/fs/cgroup/<name>/memory.events | grep -E 'oom|max'
Deleted files holding disk
lsof +L1 | sort -k7 -rn | head