public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Helge Hafting <helgehaf@aitel.hist.no>
To: Rik van Riel <riel@conectiva.com.br>, linux-kernel@vger.kernel.org
Subject: Re: Killing/balancing processes when overcommited
Date: Mon, 16 Sep 2002 09:29:47 +0200	[thread overview]
Message-ID: <3D85886B.3AB1284@aitel.hist.no> (raw)
In-Reply-To: Pine.LNX.4.44L.0209131943390.1857-100000@imladris.surriel.com

Rik van Riel wrote:

> If you kill the process that requests memory, the sequence often
> goes as follows:
> 
> 1) memory is exhausted
> 
> 2) the network driver can't allocate memory and
>    spits out a message
> 
> 3) syslogd and/or klogd get killed
> 
> Clearly you want to be a bit smarter about which process to kill.

Ill-implemented klogd/syslogd.  Pre-allocating a little memory
is one way to go, or drop messages until allocation
becomes possible again.  Then log a complaint about
messages missing due to a temporary OOM.

Helge Hafting

  parent reply	other threads:[~2002-09-16  7:24 UTC|newest]

Thread overview: 43+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-09-13 21:13 Killing/balancing processes when overcommited Jim Sibley
2002-09-13 22:31 ` Timothy D. Witham
2002-09-13 22:38   ` Timothy D. Witham
2002-09-13 22:44   ` Rik van Riel
2002-09-13 23:12     ` Timothy D. Witham
2002-09-16  7:29     ` Helge Hafting [this message]
2002-09-16 14:03       ` Rik van Riel
2002-09-16 18:49         ` Timothy D. Witham
2002-09-16 19:11           ` Rik van Riel
2002-09-16 20:27             ` Timothy D. Witham
2002-09-14  0:23   ` Jim Sibley
  -- strict thread matches above, loose matches on Subject: below --
2002-09-12 19:00 Jim Sibley
2002-09-12 19:08 ` Thunder from the hill
2002-09-12 20:35   ` Alan Cox
2002-09-12 20:43     ` Thunder from the hill
2002-09-12 20:55       ` Alan Cox
2002-09-12 21:15         ` Thunder from the hill
2002-09-12 21:22           ` Jesse Pollard
2002-09-12 23:08           ` Alan Cox
2002-09-12 23:12             ` Thunder from the hill
2002-09-12 21:19       ` Jesse Pollard
2002-09-12 21:56         ` Thunder from the hill
2002-09-13  7:51           ` Giuliano Pochini
2002-09-13 10:17             ` Thunder from the hill
2002-09-12 19:09 ` Rik van Riel
2002-09-13  8:05 ` Giuliano Pochini
2002-09-13 10:54   ` Helge Hafting
2002-09-13 13:02     ` Giuliano Pochini
2002-09-13 16:40       ` Gerhard Mack
2002-09-13 20:23   ` Timothy D. Witham
2002-09-12 18:14 Jim Sibley
2002-09-11 18:08 Jim Sibley
2002-09-11 18:27 ` Jurriaan
2002-09-12  8:26   ` Helge Hafting
2002-09-11 21:44 ` Alan Cox
2002-09-12  7:06 ` Tim Connors
2002-09-12  7:25 ` Giuliano Pochini
2002-09-12 16:02   ` Rik van Riel
2002-09-12 18:30   ` Thunder from the hill
2002-09-13  8:17     ` Giuliano Pochini
2002-09-13 10:22       ` Thunder from the hill
2002-09-13 12:53 ` Denis Vlasenko
2002-09-13 12:54   ` Jesse Pollard

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=3D85886B.3AB1284@aitel.hist.no \
    --to=helgehaf@aitel.hist.no \
    --cc=linux-kernel@vger.kernel.org \
    --cc=riel@conectiva.com.br \
    /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