From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1756597AbZCLMCI (ORCPT ); Thu, 12 Mar 2009 08:02:08 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1755347AbZCLMBx (ORCPT ); Thu, 12 Mar 2009 08:01:53 -0400 Received: from mail-bw0-f178.google.com ([209.85.218.178]:43419 "EHLO mail-bw0-f178.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752572AbZCLMBw convert rfc822-to-8bit (ORCPT ); Thu, 12 Mar 2009 08:01:52 -0400 DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; b=DqLQsTakURd8E/1QhJqdJZCNngd3s8iThOG3EvAsV/FFbo4swQtAqxUgC5g9WqJrKW xrspxptfz5zlSm/+r+iMrlPAOKhJJu0htQj3PAC2sKrZzvG6TMNnc/dukHUP++QMCEcY lwYBbYBXDzcwBb6FuGCw4FiJQi+c4ZHD1cZsY= MIME-Version: 1.0 In-Reply-To: <20090312115147.GA20785@localhost> References: <20090311121123.GA7656@localhost> <20090311122611.GA8804@localhost> <20090312075952.GA19331@localhost> <20090312081113.GA19506@localhost> <20090312103847.GA20210@localhost> <20090312115147.GA20785@localhost> Date: Thu, 12 Mar 2009 13:01:49 +0100 Message-ID: Subject: Re: Memory usage per memory zone From: jack marrow To: Wu Fengguang Cc: LKML , "linux-mm@kvack.org" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8BIT Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 2009/3/12 Wu Fengguang : > 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 > Thanks for all your help.