Re: VM - a plenty of inactive memory

From: KOSAKI Motohiro
Date: Wed Apr 09 2008 - 11:02:15 EST


Hi

> i know this. But why the kernel locks that memory for a so long time
> (2 days now)?

maybe, page cache consume it.
it isn't mean that waste memory.

> Is there a way to enforce the reclaiming?

following command drop all cache. (but I don't reccomend it)

# echo 3 > /proc/sys/vm/drop_caches


> And how can i
> find out, which process owns that memory.

please use free command and see second line(+ buffer/cache'ed free mem).

> The problem is, that i can't
> accept, that the free memory fell down to 50MB, when i have 24GB in
> the nirvana. The system was recently very close to the awkward
> situation to swap to disk, and i bet it will do so in the next few
> days, because it happened before. Unintelligible, if one got that much
> ram.

may be, it is not happend forever.
--
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/