From: Roland Bless <bless@tm.uka.de>
To: Andrea Arcangeli <andrea@suse.de>
Cc: miquels@cistron.nl, linux-kernel@vger.kernel.org,
walter@tm.uka.de, winter@tm.uka.de, doll@tm.uka.de,
Marc-Christian Petersen <m.c.p@wolk-project.de>
Subject: Re: Fix for wrong OOM killer trigger?
Date: Mon, 22 Sep 2003 12:11:40 +0200 [thread overview]
Message-ID: <20030922121140.73f81627.bless@tm.uka.de> (raw)
In-Reply-To: <20030920143410.GB1338@velociraptor.random>
Hi Andrea,
On Sat, 20 Sep 2003 16:34:10 +0200 Andrea Arcangeli <andrea@suse.de> wrote:
> > The real cause, however, seems to be that the filesystem cache
> > memory is not properly re-used when it should, or, that it tries to
> > allocate a huge amount memory. The programs themselves do not
> > allocate much memory! It must be the system, because I also
> > ran programs with memory restrictions by ulimit. The programs
> > are definitely not allocating the memory, and, 4GB RAM are really
> > enough for a simple file server like ours.
>
> that might be an accounting error in the oom killing then (even that
> should be corrected in my tree or in the stock 8.1 SuSE kernel).
>
> the reason normally oom accounting errors never showup, is that when the
> amount of free-swap is >0, the oom-killer is never invoked (that's a
> magic that probably avoids those situations to normally arise in the
> stock kernel).
>
> so maybe you had no swap, if you had no swap that would explain it.
That's clear then, however, some kernel process/procedure must have tried
to allocate a huge block of memory.
> and of course if you have 4G of ram and you know you've more than enough
> ram then you'd be right using 0 swap (just the stock kernel oom killer
> may malfunction, but that's not going to happen with the kernels I
> suggested you to try, they'll be fine with 0 swap)
> hope this helps ;)
The suggestion from Marc-Christian Petersen <m.c.p@wolk-project.de>,
namely using v2.4.23-pre5, worked for me. I was not sure before,
because I was not able to guess from the Changelog whether there
was a fix for the particular bug. My suggestion is that the log entry
below describes the bug fix for it:
Summary of changes from v2.4.22 to v2.4.23-pre1
============================================
...
Marc-Christian Petersen:
o Cleanup kmem_cache_reap()
or was it related to this one:
o Avoid potentially leaking pagetables into the per-cpu queues
I hope that it was also fixed in 2.6, or is there a different mechanism
used?
Best regards,
Roland
next prev parent reply other threads:[~2003-09-22 10:11 UTC|newest]
Thread overview: 30+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-19 17:16 Fix for wrong OOM killer trigger? Roland Bless
2003-09-19 17:30 ` Marc-Christian Petersen
2003-09-19 19:25 ` Andrea Arcangeli
2003-09-19 19:35 ` Russell King
2003-09-19 20:01 ` Andrea Arcangeli
2003-09-19 20:52 ` Larry McVoy
2003-09-19 21:05 ` Formal complaint , " Mr. James W. Laferriere
2003-09-20 6:36 ` David S. Miller
2003-09-20 3:31 ` Andrea Arcangeli
2003-09-20 4:30 ` Larry McVoy
2003-09-20 12:22 ` Bernd Schmidt
2003-09-20 13:52 ` Willy Tarreau
2003-09-20 13:54 ` Larry McVoy
2003-09-20 19:56 ` Gateways (was Re: Fix for wrong OOM killer trigger?) Jamie Lokier
2003-09-20 20:14 ` Larry McVoy
2003-09-21 11:52 ` David S. Miller
2003-09-20 16:07 ` Fix for wrong OOM killer trigger? Valdis.Kletnieks
2003-09-20 14:23 ` Andrea Arcangeli
2003-09-20 15:13 ` Larry McVoy
2003-09-20 17:14 ` Flames (was: Fix for wrong OOM killer trigger?) Stephen Satchell
2003-09-20 17:46 ` Alan Cox
2003-09-21 10:40 ` Fix for wrong OOM killer trigger? Eric W. Biederman
2003-09-21 14:22 ` Andrea Arcangeli
2003-09-21 14:52 ` Larry McVoy
2003-09-21 15:53 ` Andrea Arcangeli
2003-09-23 12:46 ` Bas Mevissen
2003-09-20 11:09 ` Roland Bless
2003-09-20 14:34 ` Andrea Arcangeli
2003-09-22 10:11 ` Roland Bless [this message]
2003-09-22 13:02 ` Andrea Arcangeli
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=20030922121140.73f81627.bless@tm.uka.de \
--to=bless@tm.uka.de \
--cc=andrea@suse.de \
--cc=doll@tm.uka.de \
--cc=linux-kernel@vger.kernel.org \
--cc=m.c.p@wolk-project.de \
--cc=miquels@cistron.nl \
--cc=walter@tm.uka.de \
--cc=winter@tm.uka.de \
/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