lkml.org 
[lkml]   [2008]   [May]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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.

\
 
 \ /
  Last update: 2008-05-15 19:41    [W:0.106 / U:0.920 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site