Date: Fri, 28 Dec 2001 15:50:03 -0800 (PST) From: <dillon@FreeBSD.org> To: pb.ludd.luth.se@FreeBSD.org, dillon@FreeBSD.org, freebsd-bugs@FreeBSD.org Subject: Re: kern/30164: Machine hangs on swap problems. Message-ID: <200112282350.fBSNo3K92885@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
Synopsis: Machine hangs on swap problems. State-Changed-From-To: open->closed State-Changed-By: dillon State-Changed-When: Fri Dec 28 15:45:47 PST 2001 State-Changed-Why: Yes, you don't have enough swap to handle the programs you are running. 4.3 had a bug in the process killing code and probably was not killing the largest process. We fixed that in later releases but even so it is possible that FreeBSD may kill the X server itself rather then the runaway process if you don't have enough memory+swap. My recommendation is to give yourself much more swap... like 256MB or more, and upgrade to 4.5-RELEASE when it comes out (or upgrade to the latest -stable if you feel adventurous). It may also be beneficial to set a datasize resource limit in your .xinitrc or .xsession (depending on how you run X), just before you start up your window manager, so runaway programs get killed before the system runs out of swap. A 128m datasize limit would be reasonable. The basic problem is that you need enough swap in the first place before you can set 'reasonable' resource limits for programs like netscape. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=30164 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200112282350.fBSNo3K92885>