Re: Slab Unreclaimable is continually growing
Hi.
On Wed, Jul 24, 2019 at 06:54:42PM +0200, Matthias Böttcher wrote:
> OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
> 307534 304741 99% 0,20K 16186 19 64744K vm_area_struct
> 14280 14274 99% 3,69K 1785 8 57120K task_struct
> 178048 152224 85% 0,25K 11128 16 44512K filp
> 8536 8536 100% 4,00K 1067 8 34144K kmalloc-4096
> 14640 14640 100% 2,06K 976 15 31232K sighand_cache
>
> How can I detect what is eating up my memory in SUnreclaim (slab unreclaimable)?
You did it already.
"vm_area_struct" is a kernel structure for anonymous memory allocations.
"task_struct" is a kernel structure for maintaining process execution.
"filp" is a kernel structure for virtual memory.
My guess is - a small number of processes that constantly allocate
memory in small numbers by executing brk(2) or its modern equivalents.
Or a relatively large number of short-lived processes.
I'd start with "pidstat -rl 1 10".
Reco
Reply to: