linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "AL13N" <alien@rmail.be>
To: linux-kernel@vger.kernel.org
Subject: Memory leaks on atom-based boards?
Date: Mon, 27 Oct 2014 18:44:03 -0000	[thread overview]
Message-ID: <8bdeb6866adef7f2d34a693040c33f12.squirrel@mail.rmail.be> (raw)

I have several machines with the same OS and kernel (3.14.22).

2 of those machines are both atom-based boards and they get OOM, without
swap being used (MemAvail crawls down towards 0, even though not more
memory is used on processes).

Specifically, this one machine, i need to reboot every 3 à 5 days.

It has 4GB RAM and 4GB swap(SSD), but:
 - sum of all vmRSS < 500MB
 - sum of all tmpfs < 100MB
 - Slab is around 16MB
 - Cache will usually crawl down towards 0 (just like MemAvail)
 - I couldn't find another explanation for the loss of Memory
 - I also asked
http://serverfault.com/questions/616856/where-did-my-memory-go-on-linux-no-cache-slab-shm-ipcs
(the other machine)
 - This problem existed on this hardware at least from 3.12.* upwards.

I've recompiled kernel to include kmemleak (i figured it'd be some module
that i've only got with this board), but it didn't point to anything (i
tested also with the test module, to see if it was working).

My questions are:
 - Is this a kernel memory leak somewhere?
 - How can i find out what is allocating all this memory?


             reply	other threads:[~2014-10-27 18:50 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-27 18:44 AL13N [this message]
2014-11-09 11:56 ` Memory leaks on atom-based boards? Vlastimil Babka
2014-11-09 16:38   ` AL13N
2014-11-09 22:07     ` Vlastimil Babka
2014-11-10  0:19       ` AL13N
2014-11-21 20:06 ` Pavel Machek
2014-11-21 21:08   ` AL13N

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=8bdeb6866adef7f2d34a693040c33f12.squirrel@mail.rmail.be \
    --to=alien@rmail.be \
    --cc=linux-kernel@vger.kernel.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).