public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: Diego Calleja <grundig@teleline.es>
Cc: linux-kernel@vger.kernel.org
Subject: oom failures with mem=4m
Date: Thu, 17 Jan 2002 15:25:23 +0100	[thread overview]
Message-ID: <20020117152523.I4847@athlon.random> (raw)
In-Reply-To: <20020116200459.E835@athlon.random> <20020116215449Z289156-13996+7212@vger.kernel.org>
In-Reply-To: <20020116215449Z289156-13996+7212@vger.kernel.org>; from grundig@teleline.es on Wed, Jan 16, 2002 at 10:58:45PM +0100

On Wed, Jan 16, 2002 at 10:58:45PM +0100, Diego Calleja wrote:
> On Wed, 16 Jan 2002, Andrea Arcangeli wrote:
> > attached) and most important I don't have a single bugreport about the
> > current 2.4.18pre2aa2 VM (except perhaps the bdflush wakeup that seems
> > to be a little too late and that deals to lower numbers with slow write
> > load etc.., fixable with bdflush tuning). Mainline VM kills too easily,
> 
> Well, I haven't reported it yet, but booting my box with mem=4M
> gave as result: (running 2.4.18-pre2aa2):
> diego# cat /var/log/messages | grep gfp
> Jan 13 15:37:10 localhost kernel: __alloc_pages: 0-order allocation failed
> (gfp=0xf0/0)
> Jan 15 16:06:28 localhost kernel: __alloc_pages: 0-order allocation failed
> (gfp=0xf0/0)
> Jan 15 18:37:21 localhost kernel: __alloc_pages: 0-order allocation failed
> (gfp=0xf0/0)
> Jan 15 21:58:32 localhost kernel: __alloc_pages: 0-order allocation failed
> (gfp=0xf0/0)
> Jan 15 21:58:33 localhost kernel: __alloc_pages: 0-order allocation failed
> (gfp=0xf0/0)
> diego# 

0xf0 shouldn't lead to an oom killing, there should be some other failure
before the killing. The above are normal warnings, they're KERN_NOTICE,
not KERN_WARNING nor KERN_ERROR.

> 
> Each script of /etc/rc.d was killed by VM when it was started, there wasn't
> any "OOM", just
> "VM killed..." or something similar.

That means there wasn't enough memory, sounds like your bootup
sequence is broken and startup something big before activating swap,
either that or you start something that takes more than 16+4m, note that
with any recent distribution it is very easy that you need 16+4 after a
little time after boot.

If you could provide a vmstat trace during the VM killing, that could
show better if the VM is the culprit or if it did the right thing.

I know for experience at the first VM killing people tends to point
the finger at the VM (me too sometime at first, see the pte-highmem
thread) but at least in my tree that never turned out to be the case
yet.

> As /etc/rc.d scripts were killed, I couldn't start swap.

Can you try to boot with emergency, then activate swap, and then check
if it runs oom again despite lots of free swap available etc...? thanks,

> 
> The gfp=0x... numbers were not always the same, but I can't remember them
> because syslogd wasn't running.
> I can repeat this if you want and I'll copy all messages.
> 
> ..I remember running 2.2.14 in a 386 box with 4MB of RAM and 8 or 16 of
> swap. It was veeery slow, but even I could run apache :-)...

:)

Andrea

  parent reply	other threads:[~2002-01-17 14:25 UTC|newest]

Thread overview: 73+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Pine.LNX.4.33L.0201162235480.32617-100000@imladris.surriel .com>
2002-01-16 19:04 ` Rik spreading bullshit about VM Andrea Arcangeli
2002-01-16 20:11   ` Jose Luis Domingo Lopez
2002-01-16 20:58   ` Richard Gooch
2002-01-16 21:10     ` Dave Jones
2002-01-16 21:17       ` Rik van Riel
2002-01-17 13:42         ` [lkml] " Ian Soboroff
2002-01-18  3:21         ` ...Re: " Dan Mann
2002-01-17  0:20       ` Luigi Genoni
2002-01-16 21:17     ` Craig Knox
2002-01-16 20:58   ` Bongani Hlope
2002-01-16 20:55     ` John Levon
2002-01-16 21:21       ` Bongani Hlope
2002-01-16 21:29   ` Adam Kropelin
2002-01-17 14:17     ` async buffer flushing reported slowdown (could be a driver issue?) Andrea Arcangeli
2002-01-18  0:28       ` Adam Kropelin
2002-01-16 21:58   ` Rik spreading bullshit about VM Diego Calleja
2002-01-16 22:02     ` Rik van Riel
2002-01-17 14:35       ` bugfix backed out Andrea Arcangeli
2002-01-17 15:04         ` Rik van Riel
2002-01-17 15:52           ` Andrea Arcangeli
2002-01-17 14:25     ` Andrea Arcangeli [this message]
2002-01-16 21:59   ` Rik spreading bullshit about VM Diego Calleja
2002-01-16 22:44   ` Chris Chabot
2002-01-17  8:18     ` Christoph Rohland
2002-01-17 14:13     ` blkdev speedup Andrea Arcangeli
2002-01-17  0:07   ` Rik spreading bullshit about VM Erik Mouw
2002-01-17  0:25     ` J Sloan
2002-01-17  1:15       ` Erik Mouw
2002-01-17 17:40       ` bill davidsen
2002-01-17 14:14     ` Alan Cox
2002-01-18  4:30     ` Bosko Radivojevic
2002-01-18  4:36       ` vm philosophising Rik van Riel
2002-01-18  4:58         ` Matthew Johnson
2002-01-18  5:12           ` Rik van Riel
2002-01-18  5:18           ` Ryan Cumming
2002-01-18  5:43             ` Matthew Johnson
2002-01-21 17:55               ` Bill Davidsen
2002-01-18  6:05             ` Matthew Johnson
2002-01-18 14:42         ` Tommy Faasen
2002-01-18 15:52           ` listmail
2002-01-21 15:50           ` The Doctor What
2002-01-21 16:16             ` Mike Harrold
2002-01-18 15:55         ` Mr. Shannon Aldinger
2002-01-18 18:39         ` Oliver Xymoron
2002-01-18 19:23           ` Alan Cox
2002-01-18 20:17             ` David Schwartz
2002-01-18 21:39               ` Alan Cox
2002-01-19  4:42             ` David Luyer
2002-01-19 18:00               ` Rob Landley
2002-01-20  5:42               ` Stevie O
2002-01-17  0:38   ` Rik spreading bullshit about VM Rik van Riel
2002-01-17  1:50     ` Nicolas Pitre
2002-01-17 11:45       ` Rik van Riel
2002-01-17 12:02         ` Stephan von Krawczynski
2002-01-17  2:14     ` Andrea Scrimieri
2002-01-17 12:07       ` Rik van Riel
2002-01-17 13:11         ` Andrea Scrimieri
2002-01-17 13:15           ` Rik van Riel
2002-01-17 14:02             ` Alan Cox
2002-01-17 21:41             ` Trever L. Adams
2002-01-18  1:46               ` brian
2002-01-17  1:52   ` Stephen Satchell
2002-01-17 13:26   ` Alan Cox
2002-01-17 15:10     ` clarification about redhat and vm Andrea Arcangeli
2002-01-17 15:21       ` Rik van Riel
2002-01-17 16:17       ` Alan Cox
2002-01-17 16:31         ` Andrea Arcangeli
2002-01-18 16:46         ` Wilhelm Nuesser
2002-01-18 19:07           ` Andrea Arcangeli
2002-01-19 10:50             ` Christoph Rohland
2002-01-19 13:54               ` Alan Cox
2002-01-19 17:38                 ` Andrea Arcangeli
2002-01-18 16:53         ` Willi Nüßer

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=20020117152523.I4847@athlon.random \
    --to=andrea@suse.de \
    --cc=grundig@teleline.es \
    --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