lkml.org 
[lkml]   [2001]   [Aug]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
Subject"VM watchdog"? [was Re: VM nuisance]
Hi!

> Is there anything measurably useful in any -ac or -pre patches after
> 2.4.7 that helps or fixes the blasted out-of-memory-but-let's-go-fsck
> -ourselves-for-a-few-hours?
>
> I was very close to hitting the reset button and losing a lot of
> important information because of this. I accidently got too close to
> the edge of memory (~6megs free) and the kernel went into FMM (fsck
> myself mode)...i.e. spin mightily looking for memory and going noplace
> whilst ignoring it's little buddy the OOM handler.
>
> Again, it doesn't matter if I have swap or not, if I get within ~6 megs
> of the end of memory, the kernel goes FMM. I've tested with and without
> swap. And _please_ don't tell me "just add more swap". That's
> ludicruous and isn't solving the problem, it's covering up a symptom.

Maybe creating userland program that
*) allocates few megs
*) while 1 sleep 1m, gettimeofday. If more tha two minutes elapsed,
tell OOM handler to kick in.

Or maybe kernel could have some "VM watchdog", which would trigger OOM if
it is not polled once a minute...
Pavel
--
Philips Velo 1: 1"x4"x8", 300gram, 60, 12MB, 40bogomips, linux, mutt,
details at http://atrey.karlin.mff.cuni.cz/~pavel/velo/index.html.

-
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 12:57    [W:0.058 / U:0.484 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site