lkml.org 
[lkml]   [2004]   [Mar]   [29]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 2.6.5-rc2-mm1 - swapoff dies with OOM, why?

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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:02    [W:0.321 / U:0.132 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site