lkml.org 
[lkml]   [2000]   [Jul]   [21]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: VM, cdrom problems with 2.2.17pre13
On Fri, 21 Jul 2000, Adriano Nagelschmidt Rodrigues wrote:

> Marcelo Tosatti writes:
> > Maybe the machine has not really crashed, but the nasty shrink_mmap loop
> > is hitting you.
>
> Could be, it looks like a loop. Usually I'm inside X and can't even
> switch to the console (or change desktops) to look at the error
> messages...
>
> By "crash" I meant that I had to press the reset button.

Exactly. The patch I sent you should fix this.

>
> > Could you please try the attached patch and report results?
>
> I compiled a new kernel (btw, I didn't `make clean', I just patched
> filemap.c and did a `make zImage', I remember it used to be a no-no
> with 2.0, is it ok w/ 2.2?) and tried:
>
> $ perl -e 'while (1) { $a[$i++] = 1 }' &
>
> When the swap was exhausted, the behaviour was:
>
> 1) Console: perl was killed with an `out of memory' message.
>
> 2) Console with X, netscape and emacs running: I still get
>
> VM: do_try_to_free_pages failed for ...
>
> repeatedly.

This is expected behaviour. The patch I sent you will avoid the crash,
not the "VM: do_try_to..." messages.




-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

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