From owner-freebsd-questions@FreeBSD.ORG Mon Nov 6 17:22:04 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6E05916A403 for ; Mon, 6 Nov 2006 17:22:04 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by mx1.FreeBSD.org (Postfix) with ESMTP id CB7BB43D66 for ; Mon, 6 Nov 2006 17:22:03 +0000 (GMT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.13.6/8.13.8) id kA6HM2Lr016586; Mon, 6 Nov 2006 11:22:02 -0600 (CST) (envelope-from dan) Date: Mon, 6 Nov 2006 11:22:02 -0600 From: Dan Nelson To: Roselyn Lee Message-ID: <20061106172202.GA10341@dan.emsphone.com> References: <12394E9FCB7C8441BB238D7F67B402E469856C@exch2.verniernetworks.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <12394E9FCB7C8441BB238D7F67B402E469856C@exch2.verniernetworks.com> X-OS: FreeBSD 6.2-PRERELEASE X-message-flag: Outlook Error User-Agent: Mutt/1.5.13 (2006-08-11) Cc: freebsd-questions@freebsd.org Subject: Re: free memory keeps going down on 5.4-release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 06 Nov 2006 17:22:04 -0000 In the last episode (Nov 06), Roselyn Lee said: > We're running freebsd 5-4 release and notice that an idle system's > free memroy keeps decreasing. The system has 1 GB memory and the > free mem starts at ~700M and goes down steadily until it hits 2M and > stays there. After that bringing up more apps on the system doesn't > seem to make the free memory any smaller. I checked top and vmstat > -m, vmstat -z and can't see where all that memory is going. Does > freebsd use memory for disk caching that is not accounted for in > these stats? Yes, free memory is used as cache. As "Free" decreases, you will see "Inact, "Cache" and "Buf" increase. -- Dan Nelson dnelson@allantgroup.com