On Sat, Jan 23, 2010, Aurelien Jarno wrote: > The check-memory test uses all memory + swap until it get killed by the > OOM killer. This can render the machine unreachable during some time. > > This is due to broken memory limit option. In myfork.c, the memory limit > setting is skipped if ZZUF_RLIMIT_CPU is not defined. This define is > actually never defined in all files included by myfork.c, but is defined > in zzuf.c. > > By the way the test itself looks stupid, as a process trying to use all > memory will either get killed by a limit defined by setrlimit(), by 2GB > limit on 32-bit machines or later by the OOM killer.
The machine can also die from excessive swapping. And if the test helped find that bug, it's doing exactly what it was written for :-) -- Sam. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org