Subject: Re: memory usage
To: Reinhold M. Roppert <netbsd-users@rmroppert.info>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-users
Date: 01/10/2006 16:08:19
On Wed, 11 Jan 2006, Reinhold M. Roppert wrote:

> we have an P4/3GHz server running under netbsd 1.6 with 2 GB of RAM.
> 
> Since some days the "top" command gives the output below. 
> What is using the "1651MB  File "of RAM?
> Can anybody explain this?

The "File" is the same as:

vmstat -s | grep 'cached file pages'

Multiple by "bytes per page" (probably 4096) and divide by 1048576 (to get 
megabytes).

The cached file pages is (if I understand correctly) is cached contents of 
recently accessed files.

> Normaly on the server runs also an apache, mysql, qmail, etc. The "Free" 
> memory goes to under 10 MB Free.

This should be okay.

Have a look at http://www.selonen.org/arto/netbsd/vm_tune.html

 Jeremy C. Reed

 	  	 	 Open source, Unix, *BSD, Linux training
	  	 	 http://www.pugetsoundtechnology.com/