linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andrea Arcangeli <andrea@suse.de>
To: "Richard B. Johnson" <root@chaos.analogic.com>
Cc: Kristian Peters <kristian.peters@korseby.net>,
	linux-kernel@vger.kernel.org,
	"Robert L. Harris" <Robert.L.Harris@rdlg.net>
Subject: Re: oom killer in 2.4.23
Date: Tue, 9 Dec 2003 18:06:53 +0100	[thread overview]
Message-ID: <20031209170653.GO12532@dualathlon.random> (raw)
In-Reply-To: <Pine.LNX.4.53.0312090942470.8772@chaos>

On Tue, Dec 09, 2003 at 09:52:13AM -0500, Richard B. Johnson wrote:
> On Tue, 9 Dec 2003, Andrea Arcangeli wrote:
> 
> > On Sat, Dec 06, 2003 at 10:31:43AM +0100, Kristian Peters wrote:
> > > Andrea Arcangeli <andrea@suse.de> schrieb:
> > > > what you're complaining is the 'selection of the task to be killed'.
> > > > That's not solvable. the kernel can't read your brain period. Only if
> > > > the kernel could read the brain of the adminstrator then you would be
> > > > happy, there is no way the kernel can know which is the task you really
> > > > want to have killed first.
> > >
> > > I agree. On a server the most likely application to be killed would be the service with the most pages in memory. And those services tend to be the important ones.
> > >
> > > However, for a simple desktop-linux that statistical approach seems to
> > > be wrong. Your vm has even killed /sbin/getty sometimes, so that I
> > > can't login via a simple console.
> >
> 
> Not true! Killing a getty or agetty or any other login
> program cannot prevent a login! Init will just start another

killing getty is a very very lucky scenario indeed. the way I read it
was that agetty can hardly be a mem eater, and in turn the same way
agetty was killed, it could have been ssh or X to be killed. That's
true, but the same issues on the desktop will happen if you have no swap
if you enable the old oom killer, the vm will go nuts even if you don't
run oom, and there will be all other sort of troubles mentioned a few
times already.

  reply	other threads:[~2003-12-09 17:05 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <Z6Iv-7O2-29@gated-at.bofh.it>
     [not found] ` <Z8Ag-3BK-3@gated-at.bofh.it>
     [not found]   ` <Zbyn-23P-29@gated-at.bofh.it>
2003-12-05 13:05     ` oom killer in 2.4.23 Kristian Peters
2003-12-05 13:56       ` Robert L. Harris
2003-12-05 19:58       ` Andrea Arcangeli
2003-12-06  9:31         ` Kristian Peters
2003-12-09 14:21           ` Andrea Arcangeli
2003-12-09 14:52             ` Richard B. Johnson
2003-12-09 17:06               ` Andrea Arcangeli [this message]
2003-12-09 18:50                 ` Kristian Peters
2003-12-05 22:38       ` Mike Fedyk
2003-12-05 22:56         ` Andrea Arcangeli
2003-12-04 16:12 Peter Bergmann
2003-12-04 17:02 ` Maciej Zenczykowski
2003-12-04 17:20   ` Guillermo Menguez Alvarez
2003-12-04 23:52     ` Andrea Arcangeli
2003-12-04 18:33   ` Peter Bergmann
2003-12-04 18:42     ` Jens Axboe
2003-12-04 20:38       ` Peter Bergmann
2003-12-04 20:28         ` Szakacsits Szabolcs
2003-12-04 23:58         ` Andrea Arcangeli

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=20031209170653.GO12532@dualathlon.random \
    --to=andrea@suse.de \
    --cc=Robert.L.Harris@rdlg.net \
    --cc=kristian.peters@korseby.net \
    --cc=linux-kernel@vger.kernel.org \
    --cc=root@chaos.analogic.com \
    /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;
as well as URLs for NNTP newsgroup(s).