kernelnewbies.kernelnewbies.org archive mirror
 help / color / mirror / Atom feed
From: Naruto Nguyen <narutonguyen2018@gmail.com>
To: kernelnewbies <kernelnewbies@kernelnewbies.org>
Subject: How to detect slab memory leak
Date: Sun, 16 Dec 2018 13:23:46 +0700	[thread overview]
Message-ID: <CANpxKHH-PFW_7zbjPEjNU-iwhkhzxM6ZLtcCtLk53aFobrBSkQ@mail.gmail.com> (raw)

Hi everyone,

When using slabtop to display the cache size growing, I see that
kmalloc-1024 and kmalloc-256 are increasing about 200MB after 1 hour.
Is there any way to detect which kernel components cause this slab
increase?

Thanks a lot,
Brs,
Naruto

_______________________________________________
Kernelnewbies mailing list
Kernelnewbies@kernelnewbies.org
https://lists.kernelnewbies.org/mailman/listinfo/kernelnewbies

             reply	other threads:[~2018-12-16  6:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-12-16  6:23 Naruto Nguyen [this message]
2018-12-18  7:42 ` How to detect slab memory leak Mulyadi Santosa
2018-12-18  8:31   ` Harsh Jain
2018-12-19 11:58     ` Naruto Nguyen
2018-12-21  7:32       ` Mulyadi Santosa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CANpxKHH-PFW_7zbjPEjNU-iwhkhzxM6ZLtcCtLk53aFobrBSkQ@mail.gmail.com \
    --to=narutonguyen2018@gmail.com \
    --cc=kernelnewbies@kernelnewbies.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).