Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Feb 2005 14:57:44 -0600
From:      Eric Anderson <anderson@centtech.com>
To:        Brooks Davis <brooks@one-eyed-alien.net>
Cc:        current@freebsd.org
Subject:   Re: where did all my memory go?
Message-ID:  <4213B3C8.3090508@centtech.com>
In-Reply-To: <20050216201716.GA28436@odin.ac.hmc.edu>
References:  <1108584730.95661.12.camel@server.mcneil.com> <20050216201716.GA28436@odin.ac.hmc.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
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.
------------------------------------------------------------------------



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4213B3C8.3090508>