Kernel memory increasing with time ( linux - 2.6.27)
Hi All,
I am using Real time linux(Compact OS) on mips platform.
I noticed significant increase in memory usage in kernel specially in filp and kmalloc-4096.
I have collected these data after comparing two set of /proc/statinfo output
At startup –
<slab_name> <active_objs> <num_objs> <objsize> <objperslab> <pagesperslab> : slabdata <active_slabs> <num_slabs> <sharedavail>
filp 55177 55188 224 18 1 : tunables 0 0 0 : slabdata 3066 3066 0
kmalloc-4096 27095 27096 4096 8 8 : tunables 0 0 0 : slabdata 3387 3387 0
After approx 2 hr -
filp 99457 99504 224 18 1 : tunables 0 0 0 : slabdata 5528 5528 0
kmalloc-4096 53615 53624 4096 8 8 : tunables 0 0 0 : slabdata 6703 6703 0
and As per /proc/meminfo , I am finding a significant difference in Slab also.
At startup –
Slab: 147404 kB
SReclaimable: 1712 kB
SUnreclaim: 145692 kB
After approx 2 hr –
Slab: 265516 kB
SReclaimable: 2168 kB
SUnreclaim: 263348 kB
Kindly provide some pointer on further debugging this memory leak ... Do linux 2.6.27 have some memory leak related to flip or kmalloc 4096 which is resolved in latest kernel release.
Any pointers toward solution will be of great help !!!
Thanks ....
|