Return-Path: linux-nfs-owner@vger.kernel.org Received: from mx1.redhat.com ([209.132.183.28]:33883 "EHLO mx1.redhat.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751837AbaLONIW (ORCPT ); Mon, 15 Dec 2014 08:08:22 -0500 Date: Mon, 15 Dec 2014 08:08:18 -0500 (EST) From: Benjamin Coddington To: Pablo Silva cc: linux-nfs@vger.kernel.org Subject: Re: Fwd: NFS and Memory Buffers In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Sender: linux-nfs-owner@vger.kernel.org List-ID: What you're doing does result in the cache being flushed, only to immediately start to fill again. I should have replied more to the point as Trond did: this is normal, do not worry. Your memory is not being "used up", as the cache memory is given back to the system if it is needed for other use. Ben On Mon, 15 Dec 2014, Pablo Silva wrote: > Dear Benajmin; > > A colleague sent me this information as is, but the curious thing > which does not release the memory buffer, except using the commands > that you can appreciate. > > I am investigating if possible "know" that information is being stored > there, and from what I see there is a command linux-fTools that could > help me descubir the information being stored there, do not know if I > bring in my analysis but it is my first step, I do not know if you > have any other suggestions. > > grateful > > - Pablo > > On Mon, Dec 15, 2014 at 9: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 > >> -- > >> To unsubscribe from this list: send the line "unsubscribe linux-nfs" in > >> the body of a message to majordomo@vger.kernel.org > >> More majordomo info at http://vger.kernel.org/majordomo-info.html > >> >