LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 01-28-2011, 06:09 AM   #1
Linux_Kid_
LQ Newbie
 
Registered: May 2009
Posts: 20

Rep: Reputation: 0
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 ....
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Committed Memory keep on increasing dico Linux - Server 11 08-27-2010 01:42 AM
Memory usage constantly increasing reverse Debian 1 11-11-2007 03:15 AM
mysql increasing memory usage over time jman623 Linux - Server 0 08-21-2007 07:44 PM
Increasing the amount of cached memory balteo Linux - General 1 09-16-2005 04:06 PM
increasing buffer size in memory slice Linux - General 1 09-30-2004 08:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 11:13 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration