> On Tue, Sep 18, 2001 at 02:02:37AM -0300, Marcelo Tosatti wrote:
> > Try to run several memory hungry threads (thus hiding more pages).
>
> I did that indeed, not sure why I didn't reproduced (I guess the hogs
> were sligthly different). (and of course they were killed but only after
> the box was truly oom)
Easy reproducible way:
Boot with 64M, start 4 setiathome processes, then start mtest (from
memtest suite) with a lot of threads (I'm using 40 readers and 4 writers
in this case, and a 100MB heap)
[root@matrix memtest-0.0.4]# ./mtest -m 100 -r 40 -w 4
Starting test run with 100 megabyte heap.
Setting up 25600 4096kB pages for test...
done.
Child 00 started with pid 00935, readonly
Child 01 started with pid 00936, readonly
Child 02 started with pid 00937, readonly
Child 03 started with pid 00938, readonly
Child 04 started with pid 00939, readonly
Sep 18 14:28:31 matrix kernel: __alloc_pages: 0-order allocation failed
(gfp=0x1d2/0) from c012c3be
Sep 18 14:28:31 matrix kernel: VM: killing process setiathome
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/