Messages in this thread | | | Date | Thu, 15 May 2008 10:38:28 -0700 (PDT) | From | Christoph Lameter <> | Subject | Re: detecting kernel mem leak |
| |
On Tue, 13 May 2008, Stéphane ANCELOT wrote:
> I kept my kernel running with few applications for 5 days , doing > nothing more than backing up few kb of data on disk and refresh few X apps. > > Ater five days the global memory available go down from 24Mb to 8Mb ...
That is normal. Linux tries to put all memory to use and will free on demand.
> The are some signifiant changes in slabinfo but now, I do not know where > to search ?
Compile the slabinfo tool.
gcc -o slabinfo linux/Documentation/vm/slabinfo.c
Then you can do
slabinfo -T
to get an overview of how much is used by slabs. But I do not see that slabs are using an excessive amount. So toying around with slabinfo is not going to get you anywhere.
| |