lkml.org 
[lkml]   [2001]   [Sep]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Linux 2.4.10-pre11


On Tue, 18 Sep 2001, Andrea Arcangeli wrote:

> 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/

\
 
 \ /
  Last update: 2005-03-22 13:03    [W:0.090 / U:4.320 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site