mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: "John Stoffel" <stoffel@lucent.com>
To: Andrew Morton <akpm@osdl.org>
Cc: "John Stoffel" <stoffel@lucent.com>, linux-kernel@vger.kernel.org
Subject: Re: 2.6.5-rc2-mm1 - swapoff dies with OOM, why?
Date: Mon, 29 Mar 2004 10:02:28 -0500	[thread overview]
Message-ID: <16488.14980.884442.349267@gargle.gargle.HOWL> (raw)
In-Reply-To: <20040328201259.1c8ee95c.akpm@osdl.org>


Andrew> Were you using rc2-mm1 at the time?  It had a memory leak in
Andrew> ext3.  Lots of memroy was leaked, so swapoff cannot get
Andrew> sufficient memory to do its thing.

Yup, it looks like that might be the problem here.  I've now gotten
control of the system again (since I also had a disk die, thankfully
the data is all mirrored!) at the same time, and when badblocks runs
away on your, it's a nasty thing.

So yes, I was running 2.6.5-rc2-mm1, and I've now just rebooted the
system into 2.6.5-rc2-mm4 (with -mm5 released as I type this... :-).
Things are looking better now, time to load test this system and see
how it handles again.

I'm still wondering why swapoff dies though.  Shouldn't it complete,
or at least have some way *to* complete if needed?  I realize, with a
memory leak in the filesystem, it's a hard thing to deal with.  

Anyway, thanks for the quick response, using -mm4 to compile -mm5 is
looking much better.  Much lower cache size, decent buffer, and still
some free memory.  Not to try a badblocks pass on my dead drive...

Here's some vmstat output (dual proc 550mhz Xeon, 768mb of RAM, -j3
compile)

procs -----------memory---------- ---swap-- -----io---- --system-- ----cpu----
 r  b   swpd   free   buff  cache   si   so    bi    bo   in    cs us sy id wa
 7  0      0 543328  17176 111344    0    0    12     0 1086   749 80 16  1  4
 2  0      0 533408  17180 111408    0    0    16     0 1084   260 87 12  0  0
 5  0      0 531552  17188 111468    0    0     4     0 1084   509 90 10  0  0
 2  0      0 532448  17208 111652    0    0    48    56 1093   356 83 15  1  1
 3  0      0 538912  17248 113924    0    0    80  1624 1152   329 72 17  7  3
 3  0      0 522464  17256 113984    0    0     8   332 1146   330 84 10  6  0
 2  0      0 540832  17276 114236    0    0    20     0 1087   524 81 17  0  2
 2  0      0 539936  17292 114356    0    0    16     0 1087   388 85 15  0  0

Thanks Andrew,
John

  reply	other threads:[~2004-03-29 15:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-03-29  2:38 John Stoffel
2004-03-29  4:12 ` Andrew Morton
2004-03-29 15:02   ` John Stoffel [this message]
2004-03-29 16:18     ` Hugh Dickins
2004-03-29 22:02       ` John Stoffel
2004-03-29 22:34         ` Hugh Dickins
2004-03-29  7:58 ` Felipe Alfaro Solana

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=16488.14980.884442.349267@gargle.gargle.HOWL \
    --to=stoffel@lucent.com \
    --cc=akpm@osdl.org \
    --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

all inboxes | Powered by JetHome®