Re: slow OOM killing with 2.6.9?

From: Chris Friesen
Date: Thu Dec 16 2004 - 11:39:21 EST

Chris Ross wrote:

Chris Friesen escreveu:

I've got a ppc box with 2GB of ram, running 2.6.9.

If I run a few instances of memory chewing programs, eventually the OOM-killer kicks in. At that point, the machine locks up for about 10 seconds while deciding what to kill.

OOM killing is known to be broken in 2.6.9, specifically it kills things even when the machine isn't out of memeory and/or kills the "wrong" things when it is. See threads assim for more details.

The OOM Killer is working properly again in 2.6.10-rc2-mm4. Could you try that kernel and report whether it fixed your problems too?

Hmm...downloaded 2.6.9, patched to 2.6.10-rc2, patched to 2.6.10-rc2-mm4. Tried building and got the following error:

[cfriesen@hsdbsk204-83-218-112 linux-2.6.10-rc2-mm4]$ make
CHK include/linux/version.h
make[1]: `arch/ppc/kernel/asm-offsets.s' is up to date.
CHK include/linux/compile.h
CHK usr/initramfs_list
GEN .version
CHK include/linux/compile.h
UPD include/linux/compile.h
CC init/version.o
LD init/built-in.o
LD .tmp_vmlinux1
arch/ppc/mm/built-in.o(.init.text+0x5f4): In function `paging_init':
: undefined reference to `pgd_offset_is_obsolete'
make: *** [.tmp_vmlinux1] Error 1

Any ideas?

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at