Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Apr 2003 17:29:40 -0700
From:      David Schultz <das@FreeBSD.ORG>
To:        Lucky Green <shamrock@cypherpunks.to>
Cc:        freebsd-current@FreeBSD.ORG
Subject:   Re: Broken memory management on system with no swap
Message-ID:  <20030420002940.GB46590@HAL9000.homeunix.com>
In-Reply-To: <000501c30682$4e5e64b0$6601a8c0@VAIO650>
References:  <000501c30682$4e5e64b0$6601a8c0@VAIO650>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 19, 2003, Lucky Green wrote:
> There appears to be a memory management bug that affects systems without
> swap files. Processes are killed off due to the server being "out of
> swap space" even though top shows some 800MB of "inactive" memory
> available.

``Inactive'' just means that the page just hasn't been accessed
for a while and is a candidtate for replacement.  However, on a
system without swap, the system has nowhere to send the page if it
is dirty.  The only pages that can always be discarded and reused
are those in the ``Cache'' and ``Free'' categories.

So the bottom line is that you really are running out of memory.



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