Re: [Ext2-devel] Re: OOM problems on 2.6.12-rc1 with many fsx tests

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Andrew Morton wrote:

"Martin J. Bligh" <[email protected]> wrote:

Nothing beats poking around in a dead machine's guts with kgdb though.

Everyone his taste.

But I was surprised by


SwapTotal:     1052216 kB
SwapFree:      1045984 kB

Strange that processes are killed while lots of swap is available.

I don't think we're that smart about it. If we're really low on mem, it
seems we invoke the OOM killer whether processes are causing the problem
or not. OTOH, if we can't free the kernel mem, we don't have much choice, but it's not really helping much ;-)



I'm suspecting here that we simply leaked a refcount on every darn
pagecache page in the machine.  Note how mapped memory has shrunk down to
less than a megabyte and everything which can be swapped out has been
swapped out.

That makes sense. We have almost 485MB in active and inactive caches,
but we are not able reclai them :(

Active:         243580 kB
Inactive:       242248 kB


If so, then oom-killing everything in the world is pretty inevitable.



-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[Index of Archives]     [Kernel Newbies]     [Netfilter]     [Bugtraq]     [Photo]     [Stuff]     [Gimp]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Video 4 Linux]     [Linux for the blind]     [Linux Resources]
  Powered by Linux