Return-Path: linux-nfs-owner@vger.kernel.org Received: from mail-wi0-f174.google.com ([209.85.212.174]:39684 "EHLO mail-wi0-f174.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750861AbaLONd0 (ORCPT ); Mon, 15 Dec 2014 08:33:26 -0500 Received: by mail-wi0-f174.google.com with SMTP id h11so8871849wiw.13 for ; Mon, 15 Dec 2014 05:33:24 -0800 (PST) MIME-Version: 1.0 In-Reply-To: References: Date: Mon, 15 Dec 2014 10:33:24 -0300 Message-ID: Subject: Re: Fwd: NFS and Memory Buffers From: Pablo Silva To: Benjamin Coddington Cc: Linux NFS Mailing List Content-Type: text/plain; charset=UTF-8 Sender: linux-nfs-owner@vger.kernel.org List-ID: Thanks Benjamin for your comment, well .. After the memory buffer is released, my Boos and colleague OpenNMS observed by passing a time period and is refilled, and therefore an alarm is triggered indicating opennms: Low threshold exceeded for SNMP datasource (memAvailReal + memcached) / memTotalReal * 100.0 interface on 172.16.10.37, parms: label = "Unknown" ds = "(memAvailReal + memcached) / memTotalReal * 100.0" value = "4.65" instance = "null "instanceLabel =" null "resourceId =" node [799] .nodeSnmp [] "trigger =" 2 "rearm =" 10.0 "threshold =" 5.0 " I have the graphic, but could send tinypic, if the list to send messages with pictures. Doubt my Boss is why the buffer memory is not released and growing without anything to release him unless use of the commands that I sent is made. The only service that is running there is NFS, which uses the default settings. [root @ bck ~] # cat / etc / exports / backup * (rw, sync) / BACKUP / RESPALDO01 172.16.30.4 (rw, insecure, sync, no_wdelay, no_root_squash) I told them that's no problem using buffer memory, and it is natural that Linux consumes memory and administer, but my Boss on reason not automatically releases the buffer memory persists. The current reading is: [root@bck ~]# free -m total used free shared buffers cached Mem: 15936 15748 188 0 4095 10770 -/+ buffers/cache: 881 15055 Swap: 2047 0 2047 [root@bck ~]# -Pablo On Mon, Dec 15, 2014 at 10:08 AM, Benjamin Coddington wrote: > 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 >> >> >>