X session crashes after running out of swap space

Edwin Groothuis edwin at mavetju.org
Wed Oct 8 20:34:45 PDT 2003


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 at mavetju.org    |    Weblog: http://www.mavetju.org/weblog/weblog.php 


More information about the freebsd-stable mailing list