Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 18 Sep 2002 12:17:27 +0300
From:      Giorgos Keramidas <keramida@ceid.upatras.gr>
To:        pzw@aabc.dk
Cc:        isp@FreeBSD.ORG
Subject:   Re: Inactive memory in FreeBSD
Message-ID:  <20020918091727.GB20911@hades.hell.gr>
In-Reply-To: <E01A200E2339D311AF7E00508B319A2B04C84710@expers.aabc.dk>
References:  <E01A200E2339D311AF7E00508B319A2B04C84710@expers.aabc.dk>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2002-09-18 09:20, pzw@aabc.dk wrote:
> When I FTP to the server or compile stuff, the amount of Inactive memory
> goes up, which I guess is because it is used for disk cache.
>
> However, when I stop compiling/FTP, it don't release the memory, it stays
> inactive, and then when you compile or use FTP again, the server starts
> using swap space, which IMHO can't be very efficient, and I have to reboot
> the server in order to release the memory. I have 256MB in the server, and
> it only uses around 40MB initially, so there shouldn't be any problem, I
> don't run X or anything fancy on it either.

There is a nice article about the design of the VM system in FreeBSD
over at www.FreeBSD.org.  This will probably explain some more details
of the way things are done.  Find it at:
http://www.FreeBSD.org/doc/en_US.ISO8859-1/articles/vm-design/

I am no virtual-memory guru myself and I can't explain in detail if
and why things work as you describe them, but I think you might find
this article of interest.

- Giorgos


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-isp" in the body of the message




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