Re: VM - a plenty of inactive memory
From: Dan Noe
Date: Wed Apr 09 2008 - 10:17:35 EST
Andreas Grimm wrote:
i know this. But why the kernel locks that memory for a so long time
(2 days now)? Is there a way to enforce the reclaiming? And how can i
find out, which process owns that memory. 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.
Have you investigated the sys.vm.swappiness tunable? It allows you to
control how readily the kernel swaps out unused mapped memory. This
seems to be relevant to your issue.
See http://lwn.net/Articles/83588/
Cheers,
Dan
--
/--------------- - - - - - -
| Daniel Noe
| http://isomerica.net/~dpn/
--
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/