mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: David Ford <david@blue-labs.org>
Cc: linux-kernel@vger.kernel.org
Subject: "VM watchdog"? [was Re: VM nuisance]
Date: Tue, 14 Aug 2001 14:00:11 +0000	[thread overview]
Message-ID: <20010814140011.B38@toy.ucw.cz> (raw)
In-Reply-To: <3B748AA8.4010105@blue-labs.org>
In-Reply-To: <3B748AA8.4010105@blue-labs.org>; from david@blue-labs.org on Fri, Aug 10, 2001 at 09:30:16PM -0400

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.


  parent reply	other threads:[~2001-08-16 21:26 UTC|newest]

Thread overview: 30+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <9li6sf$h5$1@ns1.clouddancer.com>
2001-08-11  1:30 ` VM nuisance David Ford
2001-08-11  2:48   ` Rik van Riel
2001-08-11  2:59     ` H. Peter Anvin
2001-08-11  4:17       ` Rik van Riel
2001-08-11  4:40         ` David Ford
2001-08-11  4:46           ` Rik van Riel
2001-08-11  4:41         ` safemode
2001-08-11  5:00         ` H. Peter Anvin
2001-08-11 13:13       ` Alan Cox
2001-08-11 15:39         ` David Ford
2001-08-11  3:50     ` safemode
2001-08-12 13:09     ` Maciej Zenczykowski
2001-08-12 13:45       ` Rik van Riel
2001-08-16 23:29         ` Justin A
2001-08-17  0:06           ` Dr. Kelsey Hudson
2001-08-17  0:24             ` Justin A
2001-08-17  2:54               ` Dr. Kelsey Hudson
2001-08-12 23:05       ` Dan Mann
2001-08-13  0:01     ` Colonel
2001-08-13 14:32     ` dean gaudet
2001-08-13 19:47       ` Brian
2001-08-14  8:27       ` Helge Hafting
2001-08-17 13:34         ` Szabolcs Szakacsits
2001-08-17 17:29           ` Rik van Riel
2001-08-14 14:00   ` Pavel Machek [this message]
2001-08-16 22:24     ` "VM watchdog"? [was Re: VM nuisance] Jakob Østergaard
2001-08-17  1:26       ` David Ford
2001-08-17  1:41         ` Jakob Østergaard
2001-08-17  9:04         ` Colonel
2001-08-17 20:38           ` David Ford

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010814140011.B38@toy.ucw.cz \
    --to=pavel@suse.cz \
    --cc=david@blue-labs.org \
    --cc=linux-kernel@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®