From: Neil Horman <nhorman@redhat.com>
To: "Márcio Oliveira" <moliveira@latinsourcetech.com>
Cc: Roger Heflin <rheflin@atipa.com>,
"'Neil Horman'" <nhorman@redhat.com>,
arjanv@redhat.com, linux-kernel@vger.kernel.org
Subject: Re: Memory Management
Date: Sat, 23 Jul 2005 14:45:40 -0400 [thread overview]
Message-ID: <20050723184540.GA1670@hmsendeavour.rdu.redhat.com> (raw)
In-Reply-To: <42E17FE7.3030205@latinsourcetech.com>
On Fri, Jul 22, 2005 at 08:23:19PM -0300, Márcio Oliveira wrote:
<snip>
> >
> Roger, thanks for the information.
>
> I'm using Update 4 kernels (2.4.21-27.ELsmp - This kernel have some
> mm / oom fixes) and don't have big problems when create large files,
> plus the server is a 32-bit machine.
>
> Neil said that the problem can be Low Memory and I think it too.
>
> I read the following message on the list:
>
> http://marc.theaimsgroup.com/?l=linux-kernel&m=112044530919567&w=4
>
> The problem seems like a I/O issue. Can I/O (like storage devices)
> consume a large amount of low memory? Neil also said that the kernel is
> trying to move lots of data to the disk and it's a module might require
> such large memory. Somebody know how can I identify what is using Low
> Memory on my system?
>
The best way I can think to do that is take a look at /proc/slabinfo. That will
likely give you a pointer to which area of code is eating up your memory.
> The older questions in the message are:
>
> The server has 16GB RAM and 16GB swap. When the OOM kill conditions
> happens, the system has ~6GB RAM used, ~10GB RAM cached and 16GB free swap.
> Is that indicate that the server can't allocate Low Memory and starts OOM
> conditions? Because the High Memory is OK, right?
>
Based on the sysrq-m info you posted it looks like due to fragmentation the
largest chunk of memory you can allocate is 2MB (perhaps less depending on
address space availability). If you can build a test kernel to do a show_state
rather than a show_mem at the beginning of oom_kil, then you should be able to
tell who is trying to do an allocation that leads to kswapd calling
out_of_memory.
> Thanks to all!
>
> Regards,
> Márcio
>
>
--
/***************************************************
*Neil Horman
*Software Engineer
*Red Hat, Inc.
*nhorman@redhat.com
*gpg keyid: 1024D / 0x92A74FA1
*http://pgp.mit.edu
***************************************************/
next prev parent reply other threads:[~2005-07-23 18:45 UTC|newest]
Thread overview: 18+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-07-21 12:34 Márcio Oliveira
2005-07-21 13:11 ` Neil Horman
2005-07-21 13:40 ` Márcio Oliveira
2005-07-22 14:02 ` Neil Horman
2005-07-22 14:32 ` Márcio Oliveira
2005-07-22 19:08 ` Neil Horman
2005-07-22 19:41 ` Márcio Oliveira
2005-07-22 20:58 ` Roger Heflin
2005-07-22 23:23 ` Márcio Oliveira
2005-07-23 18:45 ` Neil Horman [this message]
2005-07-23 23:16 ` Márcio Oliveira
2005-07-24 18:54 ` Neil Horman
2005-07-25 1:40 ` Márcio Oliveira
2005-07-25 9:47 ` Seiji Kihara
2005-07-25 14:30 ` Neil Horman
2005-07-25 17:04 ` Márcio Oliveira
-- strict thread matches above, loose matches on Subject: below --
2005-07-20 13:10 Memoy Management Márcio Oliveira
2005-07-20 13:24 ` Arjan van de Ven
2005-07-20 14:23 ` Memory Management Márcio Oliveira
2005-07-20 14:37 ` Arjan van de Ven
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=20050723184540.GA1670@hmsendeavour.rdu.redhat.com \
--to=nhorman@redhat.com \
--cc=arjanv@redhat.com \
--cc=linux-kernel@vger.kernel.org \
--cc=moliveira@latinsourcetech.com \
--cc=rheflin@atipa.com \
/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
all inboxes | Powered by JetHome®