Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-vc0-f176.google.com ([209.85.220.176]:36269 "EHLO mail-vc0-f176.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750777AbaLOM5D (ORCPT ); Mon, 15 Dec 2014 07:57:03 -0500 Received: by mail-vc0-f176.google.com with SMTP id hq12so5301391vcb.7 for ; Mon, 15 Dec 2014 04:57:02 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 15 Dec 2014 07:57:02 -0500 Message-ID: Subject: Re: Fwd: NFS and Memory Buffers From: Trond Myklebust To: Benjamin Coddington Cc: Pablo Silva , Linux NFS Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: On Mon, Dec 15, 2014 at 7:52 AM, Benjamin Coddington wrote: > Dear Pablo, > > Why are you restarting snmpd between flushing cache and reading > memory values? On a running system you can probably expect the > cache to immediately start to fill after a flush anyway. > y > Ben > > On Mon, 15 Dec 2014, Pablo Silva wrote: > >> Dear Readers: >> >> My boss has entrusted me to analyze why the memory buffers are >> not released a Linux server with Centos 6.4.? >> >> As informs me, the current reading is: >> >> >> [root@bck ~]# free -m >> total used free shared buffers cached >> Mem: 15936 15788 147 0 6746 438 >> -/+ buffers/cache: 8604 7332 >> Swap: 2047 0 2047 >> [root@bck ~]# >> [root@bck ~]# >> [root@bck ~]# echo 3 > /proc/sys/vm/drop_caches && service snmpd >> restart && free -m >> Stopping snmpd: [ OK ] >> Starting snmpd: [ OK ] >> total used free shared buffers cached >> Mem: 15936 509 15426 0 93 16 >> -/+ buffers/cache: 400 15536 >> Swap: 2047 0 2047 >> [root@bck ~]# >> >> I can not find the solution to release the memory buffer and cache >> memory so grateful for any hint for finding the solution to this >> "problem". >> >> -Paul >> See the top entry on googling "why does linux cache memory": http://www.linuxatemyram.com/ -- Trond Myklebust Linux NFS client maintainer, PrimaryData trond.myklebust@primarydata.com