Date: Thu, 9 Oct 2003 13:34:37 +1000 From: Edwin Groothuis <edwin@mavetju.org> To: Jonathan <j.e.drews@worldnet.att.net> Cc: stable@freebsd.org Subject: Re: X session crashes after running out of swap space Message-ID: <20031009033437.GC59401@k7.mavetju> In-Reply-To: <200310082225.01973.j.e.drews@worldnet.att.net> References: <200310082225.01973.j.e.drews@worldnet.att.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20031009033437.GC59401>