uname -a FreeBSD analytic.engine 4.9-RC FreeBSD 4.9-RC #0: Wed Oct 8 20:51:17 CDT 2003 root@analytic.engine:/usr/obj/usr/src/sys/STABLE-49 i386 System: AMD Athlon 1.4 GHz, 256 Mb RAM Hi: 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. Here is an excerpt from /var/log/messages: Oct 8 21:29:55 analytic /kernel: swap_pager_getswapspace: failed Oct 8 21:29:57 analytic last message repeated 333 times Oct 8 21:29:57 analytic /kernel: pid 12022 (octave-2.1.50), uid 1001, was killed: out of swap space Oct 8 21:31:00 analytic /kernel: uscanner0: EPSON Perfection640 , rev 1.00/0.01, addr 2 Oct 8 21:32:16 analytic login: ROOT LOGIN (root) ON ttyv1 Oct 8 21:35:22 analytic /kernel: swap_pager: out of swap space Oct 8 21:35:22 analytic /kernel: swap_pager_getswapspace: failed Oct 8 21:35:22 analytic /kernel: pid 66764 (XFree86), uid 0, was killed: out of swap space Oct 8 21:35:23 analytic kdm[179]: Server for display :0 terminated unexpectedly Oct 8 21:35:25 analytic /kernel: swap_pager_getswapspace: failed Oct 8 21:35:26 analytic last message repeated 35 times I had a Gnome desktop running on display :2 and it did not crash. -- Kind regards, Jonathan
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
On Wed, 8 Oct 2003, 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.It still is, its just that it thinks the "offending application" is X:> Oct 8 21:35:22 analytic /kernel: pid 66764 (XFree86), uid 0, was killed: out > of swap spaceReally, memory is cheap. Go buy some more. 256MB isn't really enough if you are running large graphical applications. -- Doug White | FreeBSD: The Power to Serve dwhite@gumbysoft.com | www.FreeBSD.org