From: Andrew Morton <akpm@osdl.org>
To: Michael Raskin <a1d23ab4@mail.ru>
Cc: linux-kernel@vger.kernel.org
Subject: Re: 2.6.19-rc1-mm1+ memory problem
Date: Tue, 21 Nov 2006 00:37:45 -0800 [thread overview]
Message-ID: <20061121003745.aeda4f7c.akpm@osdl.org> (raw)
In-Reply-To: <45614A95.6090102@mail.ru>
On Mon, 20 Nov 2006 09:26:29 +0300
Michael Raskin <a1d23ab4@mail.ru> wrote:
> Short description: when X is loaded (maybe any heavy application is
> sufficient, but I don't use anything heavy in console), 'free' says used
> memory is growing.
>
> Keywords: memory.
>
> Kernel: built locally, gcc 4.0.3
>
> I have a strange problem with 2.6.19-rc-mm kernels. After I load X, I
> notice that memory is marked used at rate of tens of KB/s. Then it
> starts to swap very heavily, when physical memory is all used. I tried
> to verify it - it is so with all -mm kernels after 2.6.19-rc1-mm1,
> including 2.6.19-rc5-mm2. At the meantime everything works OK with
> kernels 2.6.18-mm3 and 2.6.19-rc1 through 2.6.19-rc6. I do not see any
> options that should be memory eating in my .config . Module list is
> short enough to include inline.
>
> When I just run some things like periodical suck, oops proxy server etc
> with X shut down, I do not notice "leak" from console because of small
> fluctuations of memory use. When I run X and shut it down, used memory
> count goes up a few megs (consistent with speed of eating it by X).
>
> I didn't find exactly this problem in lkml or www, though the problem
> with OOM on 2.6.19-rc-mm seems similar.
>
> What should I check to fix problem or produce a useful bug report?
Monitor /proc/meminfo
If the leak is slab, monitor /proc/slabinfo and /proc/slab_allocators.
/proc/slab_allocators needs CONFIG_DEBUG_SLAB_LEAK.
Thanks.
next prev parent reply other threads:[~2006-11-21 8:38 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-20 6:26 2.6.19-rc1-mm1+ memory problem Michael Raskin
2006-11-20 18:18 ` Michael Raskin
2006-11-21 8:37 ` Andrew Morton [this message]
[not found] ` <4563485B.3050801@mail.ru>
2006-11-21 19:45 ` Andrew Morton
2006-11-21 21:18 ` Michael Raskin
2006-11-24 13:23 ` Michael Raskin
2006-11-24 23:07 ` Michael Raskin
2006-11-25 19:03 ` Andrew Morton
2006-11-25 21:53 ` Michael Raskin
2006-11-29 4:29 ` 2.6.19-rc6-mm2 is ok (2.6.19-rc1-mm1+ memory problem) Michael Raskin
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=20061121003745.aeda4f7c.akpm@osdl.org \
--to=akpm@osdl.org \
--cc=a1d23ab4@mail.ru \
--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