Re: detecting kernel mem leak

From: Stéphane ANCELOT
Date: Tue May 13 2008 - 04:54:04 EST


Hi,

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 ...

The are some signifiant changes in slabinfo but now, I do not know where
to search ?

active_jobs :
proc_inode_cache : 150 -> 299
radix_tree_node : 807 -> 870
dentry: 4092 ->4249
buffer_head: 1138 -> 4824
pid_1: 64 -> 76
size-64 : 885 -> 944

memory BEFORE AFTER :

MemFree: 24324 kB.................8692Kb
Buffers: 3956 kB...............18740Kb
Cached: 34080 kB................34452Kb
Active: 131176 kB................147592Kb
Inactive: 26708 kB..................25440Kb

Slab: 4692 kB........4952kB

SReclaimable: 1480 kB ............. 1744kb
SUnreclaim: 3212 kB...............3208kb



in the ps tree only Xorg SHR memory growed from 5592 to 5612


--
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/