| Summary: | Machine hangs on swap problems. | ||
|---|---|---|---|
| Product: | Base System | Reporter: | Peter <pb.ludd.luth.se> |
| Component: | kern | Assignee: | freebsd-bugs (Nobody) <bugs> |
| Status: | Closed FIXED | ||
| Severity: | Affects Only Me | ||
| Priority: | Normal | ||
| Version: | 4.3-RELEASE | ||
| Hardware: | Any | ||
| OS: | Any | ||
|
Description
Peter
2001-08-28 16:50:00 UTC
State Changed From-To: open->closed State Changed From-To: closed->open Bleh. hold on. I'll close it right in a moment. State Changed From-To: open->closed 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. |