From owner-freebsd-stable@FreeBSD.ORG Wed Oct 8 20:34:45 2003 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 64B8916A4B3 for ; Wed, 8 Oct 2003 20:34:45 -0700 (PDT) Received: from mag.barnet.com.au (mag.barnet.com.au [218.185.88.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A3A943FBD for ; Wed, 8 Oct 2003 20:34:44 -0700 (PDT) (envelope-from edwin@mavetju.org) Received: from extmail.barnet.com.au (tim.direct.int.barnet.com.au [10.10.10.2]) by mag.barnet.com.au (Postfix) with ESMTP id 14BE713CE; Thu, 9 Oct 2003 13:35:29 +1000 (EST) X-Viruscan-Id: <3F84D751000091630150615C@VIRUSCAN-127.0.0.1> Received: from k7.mavetju (tim.barnet.com.au [218.185.88.1]) by extmail.barnet.com.au (Postfix) with ESMTP id 331C31E0C; Thu, 9 Oct 2003 13:34:39 +1000 (EST) Received: by k7.mavetju (Postfix, from userid 1001) id DB30F6A7101; Thu, 9 Oct 2003 13:34:37 +1000 (EST) Date: Thu, 9 Oct 2003 13:34:37 +1000 From: Edwin Groothuis To: Jonathan Message-ID: <20031009033437.GC59401@k7.mavetju> References: <200310082225.01973.j.e.drews@worldnet.att.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200310082225.01973.j.e.drews@worldnet.att.net> User-Agent: Mutt/1.4.1i cc: stable@freebsd.org Subject: Re: X session crashes after running out of swap space X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 09 Oct 2003 03:34:45 -0000 On Wed, Oct 08, 2003 at 10:25:01PM -0500, Jonathan wrote: > I tested the latest source and it seems to work OK. USB scanning works. > However when i start multiple sessions of Octave, a MatLab clone, and have it > do huge computations it crashes my Kde 3.1.3 desktop because the computer has > run our of swap space. This did not happen in 4.8. If the machine ran out of > swap space in 4.8, it just killed the offending application. Actually, it kills the largest process. See vm/vm_pageout.c and search for "out of swap": /* * If we are out of swap and were not able to reach our paging * target, kill the largest process. */ Edwin -- Edwin Groothuis | Personal website: http://www.mavetju.org edwin@mavetju.org | Weblog: http://www.mavetju.org/weblog/weblog.php