lkml.org 
[lkml]   [2009]   [Mar]   [12]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Memory usage per memory zone
On Thu, Mar 12, 2009 at 01:38:46PM +0200, jack marrow wrote:
> > Can you paste the /proc/meminfo after doing 'echo 3 > drop_caches'?
>
> http://pastebin.com/mce24730
>
> >> I thought the kernel dropped caches if a program needs the ram?
> >
> > Sure, but something is unreclaimable... Maybe some process is taking a
> > lot of shared memory(shm)? What's the output of `lsof`?
>
> I can't paste that, but I expect oracle is using it.

Oh well...

But from the meminfo, there are 1.2G mapped pages. That could be a big
trouble for reclaiming. Recent kernels can better handle this situation.

Thanks,
Fengguang
---

# cat /proc/meminfo
MemTotal: 3895404 kB
MemFree: 2472656 kB
Buffers: 412 kB
Cached: 239716 kB
SwapCached: 202652 kB
Active: 1275212 kB
Inactive: 34584 kB
HighTotal: 3014592 kB
HighFree: 1684032 kB
LowTotal: 880812 kB
LowFree: 788624 kB
SwapTotal: 2040212 kB
SwapFree: 1626756 kB
Dirty: 104 kB
Writeback: 0 kB
Mapped: 1247000 kB
Slab: 80040 kB
CommitLimit: 3987912 kB
Committed_AS: 8189040 kB
PageTables: 18792 kB
VmallocTotal: 106488 kB
VmallocUsed: 3072 kB
VmallocChunk: 102980 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 2048 kB


\
 
 \ /
  Last update: 2009-03-12 12:55    [W:0.049 / U:3.348 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site