Bug 9214
Summary: | panic in show_mem on when out_of_memory | ||
---|---|---|---|
Product: | Memory Management | Reporter: | Bernd Pfrommer (berndp) |
Component: | Other | Assignee: | Andrew Morton (akpm) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | randy.dunlap |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.21.5 | Subsystem: | |
Regression: | --- | Bisected commit-id: |
Description
Bernd Pfrommer
2007-10-23 06:10:08 UTC
How much swap space to you have? I had configured 16GB of swap, but when I checked to make sure, swapon -s showed no swap at all. Turns out that somehow the partition labelling by the FC6 installer must not have worked properly, because after fixing /etc/fstab, and running mkswap, the swap now shows up in /proc/swaps. In summary, NO swap was configured. I suspect that after the process reached the 4GB physical memory limit, the kernel must have tried to kill the process, at which point show_mem() must have been called. I since found that there was a bug in show_mem() in the 2.6.21.5 kernel, which may have been patched in 2.6.21.6. See http://lkml.org/lkml/2007/6/27/195. I'm compiling a 2.6.23 kernel now, and will do some testing with it later in the night. Ran the application again with latest kernel 2.6.23. The oom-killer kicked in and killed the offending process, no kernel panic or the like. Consider this problem resolved, presumably with 2.6.21.6, but definitely with 2.6.23. |