Bug 9202
Summary: | Dysfunctional applications consume all the system memory, system freezes. | ||
---|---|---|---|
Product: | Memory Management | Reporter: | nikos (231036448) |
Component: | Other | Assignee: | Andrew Morton (akpm) |
Status: | REJECTED WILL_NOT_FIX | ||
Severity: | high | CC: | protasnb |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.22.9-desktop-1mdv | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
nikos
2007-10-21 07:53:39 UTC
Unfortunatly, OOo is a seriously gutsy application that likes to eat lots of memory, and 384mb isn't really a huge amount of ram. by default, no limits are in place, and any application can exhaust all system memory and swap. (See man ulimit for info on how to set them). What's odd though, is that when the system runs seriously low on memory it's supposed to invoke the OOM (out of memory) killer, to kill a task thats hogging memory in order to make the system usable again. For some reason, you don't seem to be having that happen. When you say the system freezes, is the disk light on ? It could be that it's not yet out of swap memory, so it's too early to begin killing processes. I can't tell if the disk light is on, but according to KSysGuard all the memory (ram + swap) is consumed. And when that happens, the KSysGuard stops updating its graphs, soon the mouse stops moving or disappears. Of course, no use trying keyboard shortcuts, to log out, kill the process, or what ever; none works. At least 1 hour later the system is there, as you left it, frozen! Looking at the processes in KSysGuard and at the "system services" of Mandriva's Control Center, I didn't find any application resembling the names "oom" "killer" "badness" "memory". Did the guys in Mandriva decided to leave something out? And after "yahooing" on oom killer, although I didn't understand most of the results, I saw that a: others have the same problem, b: how oom killer works is kind of a controversial issue. Maybe you can run vmstat and say vmstat -m and collect some information on where exactly memory gets consumed (instead of running KSysGuard), then you can provide this information in the attachment. You can open couple of windows and run it there, so when the system freezes you will se last updates to the memory stats. vmstat 2 will run continuously updating every 2 sec. Running top in another window might be useful too. No responses, plus we have a no overcommit mode for this anyway |