On 9/28/18 9:52 PM, Stefan Seyfried wrote:
I think I'm seeing a continuously rising usage of kmalloc-2048 slabs in
/proc/slabinfo and slabtop. Before I rebooted from 4.19rc3 to 4.19rc5, I
had about 4.5GB of kmalloc-2048 after about 13d8h uptime.
Now, after almost 10 minutes uptime, it has already grown to 4MB:
2166 2166 100% 2.00K 1083 2 4332K kmalloc-2048
How can I debug this? The usage started to increase immediately after
boot into an idle XFCE desktop, running a small X11 application (gkrellm
system monitor) via SSH on a remote machine
Tracing should help here, without recompiling the kernel, install
trace-cmd and run:
trace-cmd record -T -e kmalloc -f bytes_alloc==2048
And after a while (while kmalloc-2048 grows), stop it and check the
output of trace-cmd report.
The leaking allocations should dominate, although there will also be
other non-leaking ones. Maybe the process names will be also related to
NetworkManager. If in doubt, send the produced trace.dat
After disabling networking in NetworkManager,
kmalloc-2048 usage went
down (from about ~2500 objects to 2388 active objects right now), now on
a stable, lightly fluctuating level.
This is a Lenovo Thinkpad T420, Core i5-2520M CPU, 8GB RAM, Intel
Centrino Advanced-N 6205 [Taylor Peak] WIFI module, Ethernet unused.
Once I know how to find out more details, I'm ready to report this
To unsubscribe, e-mail: opensuse-kernel+unsubscribe(a)opensuse.org
To contact the owner, e-mail: opensuse-kernel+owner(a)opensuse.org