Re: Swap strangeness: total VIRT ~23mb for all processes, swap 91156k used - impossible?

From: William Lee Irwin III
Date: Thu Oct 28 2004 - 10:47:09 EST


On Thu, Oct 28, 2004 at 01:33:53PM +0300, Denis Vlasenko wrote:
> I am playing with 'small/beautiful stuff' like
> bbox/uclibc.
> I ran oom_trigger soon after boot and took
> "top b n 1" snapshot after OOM kill.
> Output puzzles me: total virtual space taken by *all*
> processes is ~23mb yet swap usage is ~90mb.
> How that can be? *What* is there? Surely it can't
> be a filesystem cache because OOM condition reduces that
> to nearly zero.
> top output
> (note: some of them are busybox'ed, others are compiled
> against uclibc, some are statically built with dietlibc,
> rest is plain old shared binaries built against glibc):

Let's get top(1) out of the equation. Could you grab VSZ from directly
from /proc/?


Thanks.


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