From owner-freebsd-current@FreeBSD.ORG Sat Apr 19 17:29:45 2003 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 CFC4837B401 for ; Sat, 19 Apr 2003 17:29:45 -0700 (PDT) Received: from HAL9000.homeunix.com (12-233-57-131.client.attbi.com [12.233.57.131]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2A21543FDD for ; Sat, 19 Apr 2003 17:29:45 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: from HAL9000.homeunix.com (localhost [127.0.0.1]) by HAL9000.homeunix.com (8.12.9/8.12.5) with ESMTP id h3K0Te9E046757; Sat, 19 Apr 2003 17:29:40 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Received: (from das@localhost) by HAL9000.homeunix.com (8.12.9/8.12.5/Submit) id h3K0TeN8046756; Sat, 19 Apr 2003 17:29:40 -0700 (PDT) (envelope-from das@FreeBSD.ORG) Date: Sat, 19 Apr 2003 17:29:40 -0700 From: David Schultz To: Lucky Green Message-ID: <20030420002940.GB46590@HAL9000.homeunix.com> Mail-Followup-To: Lucky Green , freebsd-current@freebsd.org References: <000501c30682$4e5e64b0$6601a8c0@VAIO650> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <000501c30682$4e5e64b0$6601a8c0@VAIO650> cc: freebsd-current@FreeBSD.ORG Subject: Re: Broken memory management on system with no swap 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: Sun, 20 Apr 2003 00:29:46 -0000 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.