Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-wg0-f44.google.com ([74.125.82.44]:47224 "EHLO mail-wg0-f44.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750818AbaLONC4 (ORCPT ); Mon, 15 Dec 2014 08:02:56 -0500 Received: by mail-wg0-f44.google.com with SMTP id b13so14601684wgh.31 for ; Mon, 15 Dec 2014 05:02:54 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 15 Dec 2014 10:02:54 -0300 Message-ID: Subject: Re: Fwd: NFS and Memory Buffers From: Pablo Silva To: Trond Myklebust Cc: Benjamin Coddington , Linux NFS Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: Hi Trond! Yes, i've just to read this web page, but my boss is afraid to make swapping to continue growing consumption of buffer memory, if it is true, linux should be responsible for its administration ignored the reason to emphasize tuning the memory consumption. -Pablo On Mon, Dec 15, 2014 at 9:57 AM, Trond Myklebust wrote: > 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