Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #211710

Re: Slab Unreclaimable is continually growing

From Reco <recoverym4n@enotuniq.net>
Newsgroups linux.debian.user
Subject Re: Slab Unreclaimable is continually growing
Date 2019-07-24 21:50 +0200
Message-ID <ynvqV-6dM-1@gated-at.bofh.it> (permalink)
References <ynsMp-4t4-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


	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

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Slab Unreclaimable is continually growing Matthias Böttcher <matthias.boettcher@gmail.com> - 2019-07-24 19:00 +0200
  Re: Slab Unreclaimable is continually growing Shahryar Afifi <shahryarafifi@yahoo.com> - 2019-07-24 21:10 +0200
    Re: Slab Unreclaimable is continually growing Matthias Böttcher <matthias.boettcher@gmail.com> - 2019-07-26 20:10 +0200
  Re: Slab Unreclaimable is continually growing Reco <recoverym4n@enotuniq.net> - 2019-07-24 21:50 +0200
    Re: Slab Unreclaimable is continually growing Matthias Böttcher <matthias.boettcher@gmail.com> - 2019-07-26 21:00 +0200
      Re: Slab Unreclaimable is continually growing Reco <recoverym4n@enotuniq.net> - 2019-07-26 21:20 +0200
        Re: Slab Unreclaimable is continually growing Matthias Böttcher <matthias.boettcher@gmail.com> - 2019-07-27 12:00 +0200
          Re: Slab Unreclaimable is continually growing Matthias Böttcher <matthias.boettcher@gmail.com> - 2019-09-19 09:40 +0200

csiph-web