public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* How to find slab\'s usage?
@ 2007-10-12  7:01 Tetsuo Handa
  2007-10-13  7:43 ` Pekka Enberg
  0 siblings, 1 reply; 7+ messages in thread
From: Tetsuo Handa @ 2007-10-12  7:01 UTC (permalink / raw)
  To: linux-kernel

Hello.

I was compiling Ubuntu 7.10's kernel and I encountered OOM-killer.

I saw /proc/meminfo and it seems to me that slab is leaking memory.
But /usr/bin/slabtop claims /proc/slabinfo is missing.

I couldn't continue the compilation before reboot.
I could continue the compilation after reboot.
So, I think this is a memory leak.
How can I find slab that uses so much memory?

Regards.



# cat /proc/version
Linux version 2.6.22-14-server (buildd@vernadsky) (gcc version 4.1.3 20070929 (prerelease) (Ubuntu 4.1.2-16ubuntu2)) #1 SMP Wed Oct 10 06:35:59 GMT 2007

# cat /proc/meminfo
MemTotal:       515756 kB
MemFree:         24628 kB
Buffers:          1372 kB
Cached:          15324 kB
SwapCached:          0 kB
Active:          15140 kB
Inactive:         5936 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       515756 kB
LowFree:         24628 kB
SwapTotal:           0 kB
SwapFree:            0 kB
Dirty:              12 kB
Writeback:           8 kB
AnonPages:        4396 kB
Mapped:           1076 kB
Slab:           311236 kB
SReclaimable:    11268 kB
SUnreclaim:     299968 kB
PageTables:        264 kB
NFS_Unstable:        0 kB
Bounce:              0 kB
CommitLimit:    257876 kB
Committed_AS:     7780 kB
VmallocTotal:   511992 kB
VmallocUsed:      2204 kB
VmallocChunk:   509364 kB

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2007-10-15 18:51 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-10-12  7:01 How to find slab\'s usage? Tetsuo Handa
2007-10-13  7:43 ` Pekka Enberg
2007-10-13  8:02   ` Tetsuo Handa
2007-10-13  8:10     ` Pekka Enberg
2007-10-15 18:51       ` Christoph Lameter
2007-10-13  8:10     ` Eric Dumazet
2007-10-15 11:41       ` Tetsuo Handa

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox