From owner-freebsd-current@FreeBSD.ORG Wed Feb 16 21:00:03 2005 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7955F16A4CE for ; Wed, 16 Feb 2005 21:00:03 +0000 (GMT) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E61043D31 for ; Wed, 16 Feb 2005 21:00:02 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id j1GL01cg096029; Wed, 16 Feb 2005 15:00:01 -0600 (CST) (envelope-from anderson@centtech.com) Message-ID: <4213B3C8.3090508@centtech.com> Date: Wed, 16 Feb 2005 14:57:44 -0600 From: Eric Anderson User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050210 X-Accept-Language: en-us, en MIME-Version: 1.0 To: Brooks Davis References: <1108584730.95661.12.camel@server.mcneil.com> <20050216201716.GA28436@odin.ac.hmc.edu> In-Reply-To: <20050216201716.GA28436@odin.ac.hmc.edu> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV version 0.82, clamav-milter version 0.82 on mh1.centtech.com X-Virus-Status: Clean cc: current@freebsd.org Subject: Re: where did all my memory go? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 21:00:03 -0000 Brooks Davis wrote: > On Wed, Feb 16, 2005 at 12:12:10PM -0800, Sean McNeil wrote: > >>With a system built yesterday on my amd64, I had plenty of memory >>showing as free when the system completely started up. Even after >>intense usage I showed lots of free memory in top. Over night at some >>point all my memory is no longer free but inactive. Is there anything >>wrong here or is this expected behavior? ps doesn't show any serious >>usage by any particular process. Also, if disk caches or something were >>taking up the memory, I would expect it to have shown a lot earlier. > > > On a system that has been up for any significant time, free memory > should be very small since free memory is wasted. My guess is that it > is disk cache and that one of the nightly jobs accessed enough stuff to > fill it. Speaking of this - is there a way to flush the disk cache? Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology I have seen the future and it is just like the present, only longer. ------------------------------------------------------------------------