Re: VM - a plenty of inactive memory

From: Andreas Grimm
Date: Wed Apr 09 2008 - 12:28:42 EST


Hi,

the output of free:
-/+ buffers/cache: 30718212 2547704
Information in frees man page is very sparse, what's the
interpretation? I will try the drop_cache thing in the night.
Thanks!

2008/4/9, KOSAKI Motohiro <kosaki.motohiro@xxxxxxxxxxxxxx>:
> 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/