All of lore.kernel.org
 help / color / mirror / Atom feed
From: Anthony de Boer - USEnet <abuse@leftmind.net>
To: linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Prevent OOM from killing init
Date: Tue, 27 Mar 2001 10:05:08 -0500	[thread overview]
Message-ID: <20010327100508.A19460@leftmind.net> (raw)
In-Reply-To: <20010322124727.A5115@win.tue.nl> <20010322142831.A929@owns.warpcore.org>
In-Reply-To: <20010322142831.A929@owns.warpcore.org>; from stephenc@theiqgroup.com on Thu, Mar 22, 2001 at 02:28:31PM -0600

Stephen Clouse wrote:
> We run Oracle on a development box here, and it's always the first to get the
> axe (non-root process using 70-80 MB VM).  ...
> It would be nice to give immunity to certain uids, ...

It would seem to me that the new capabilities stuff _could_ be the answer.

Basically, all "am I root?" checks in the kernel should be becoming cap
flags, the OOM killer already avoids killing root processes, it's already
a tenet that yes you can hose your system doing insane things as root but
that nonroot users should NOT be able to hose a system, so being able to
eg. grant this capability to Oracle or ungrant it from sendmail could let
a sysadmin tell the kernel what must be preserved regardless of its UID.

As a baseline I'd want to see all user processes die before any UID 0
stuff, but being able to retune this would be extremely good.

-- 
Anthony de Boer -- as seen at http://www.leftmind.net/~adb/ -- BOFH, eh?
 / "Just when you think you've got a handle on herding cats, \
 \ along comes a three-legged cat on amphetamines."  -- Skud /

  parent reply	other threads:[~2001-03-27 15:06 UTC|newest]

Thread overview: 269+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-21 22:54 [PATCH] Prevent OOM from killing init Patrick O'Rourke
2001-03-21 22:54 ` Patrick O'Rourke
2001-03-21 23:11 ` Eli Carter
2001-03-21 23:11   ` Eli Carter
2001-03-21 23:40   ` Patrick O'Rourke
2001-03-21 23:40     ` Patrick O'Rourke
2001-03-21 23:48 ` Rik van Riel
2001-03-21 23:48   ` Rik van Riel
2001-03-22  8:14   ` Eric W. Biederman
2001-03-22  8:14     ` Eric W. Biederman
2001-03-22  9:24     ` Rik van Riel
2001-03-22  9:24       ` Rik van Riel
2001-03-22 19:29     ` Philipp Rumpf
2001-03-22 19:29       ` Philipp Rumpf
2001-03-22 11:47   ` Guest section DW
2001-03-22 11:47     ` Guest section DW
2001-03-22 15:01     ` Rik van Riel
2001-03-22 15:01       ` Rik van Riel
2001-03-22 19:04       ` Guest section DW
2001-03-22 19:04         ` Guest section DW
2001-03-22 23:10         ` Jordi Polo
2001-03-22 16:41     ` Eric W. Biederman
2001-03-22 16:41       ` Eric W. Biederman
2001-03-22 20:28     ` Stephen Clouse
2001-03-22 20:28       ` Stephen Clouse
2001-03-22 21:01       ` Ingo Oeser
2001-03-22 21:01         ` Ingo Oeser
2001-03-22 21:23       ` Alan Cox
2001-03-22 21:23         ` Alan Cox
2001-03-22 22:00         ` Guest section DW
2001-03-22 22:00           ` Guest section DW
2001-03-22 22:12           ` Ed Tomlinson
2001-03-22 22:12             ` Ed Tomlinson
2001-03-22 22:52           ` Alan Cox
2001-03-22 22:52             ` Alan Cox
2001-03-22 23:27             ` Guest section DW
2001-03-22 23:27               ` Guest section DW
2001-03-22 23:37               ` Rik van Riel
2001-03-22 23:37                 ` Rik van Riel
2001-03-26 19:04                 ` James Antill
2001-03-26 19:04                   ` James Antill
2001-03-26 20:05                   ` Rik van Riel
2001-03-26 20:05                     ` Rik van Riel
2001-03-22 23:40               ` Alan Cox
2001-03-22 23:40                 ` Alan Cox
2001-03-23 20:09                 ` Szabolcs Szakacsits
2001-03-23 20:09                   ` Szabolcs Szakacsits
2001-03-23 22:21                   ` Alan Cox
2001-03-23 22:21                     ` Alan Cox
2001-03-23 22:37                     ` Szabolcs Szakacsits
2001-03-23 22:37                       ` Szabolcs Szakacsits
2001-03-23 19:57           ` Szabolcs Szakacsits
2001-03-23 19:57             ` Szabolcs Szakacsits
2001-03-22 22:10         ` Doug Ledford
2001-03-22 22:10           ` Doug Ledford
2001-03-22 22:53           ` Alan Cox
2001-03-22 22:53             ` Alan Cox
2001-03-22 23:30             ` Doug Ledford
2001-03-22 23:30               ` Doug Ledford
2001-03-22 23:40               ` Alan Cox
2001-03-22 23:40                 ` Alan Cox
2001-03-22 23:43         ` Stephen Clouse
2001-03-22 23:43           ` Stephen Clouse
2001-03-23 19:26         ` Szabolcs Szakacsits
2001-03-23 19:26           ` Szabolcs Szakacsits
2001-03-23 20:41           ` Paul Jakma
2001-03-23 20:41             ` Paul Jakma
2001-03-23 21:58             ` george anzinger
2001-03-23 21:58               ` george anzinger
2001-03-24  5:55               ` Rik van Riel
2001-03-24  5:55                 ` Rik van Riel
2001-03-24  8:04                 ` Mike Galbraith
2001-03-27 14:05                 ` Scott F. Kaplan
2001-03-28  0:00                   ` Rik van Riel
2001-03-30  3:18                     ` Scott F. Kaplan
2001-03-30 23:03                       ` Rik van Riel
2001-03-23 22:18             ` Szabolcs Szakacsits
2001-03-23 22:18               ` Szabolcs Szakacsits
2001-03-24  2:08               ` Paul Jakma
2001-03-24  2:08                 ` Paul Jakma
2001-03-23  1:31       ` Michael Peddemors
2001-03-23  1:31       ` Michael Peddemors
2001-03-23  7:04         ` Rik van Riel
2001-03-23  7:04           ` Rik van Riel
2001-03-23 11:28           ` Guest section DW
2001-03-23 11:28             ` Guest section DW
2001-03-23 14:50             ` Eric W. Biederman
2001-03-23 14:50               ` Eric W. Biederman
2001-03-23 15:13               ` General 2.4 impressions (was Re: [PATCH] Prevent OOM from killing init) Jeff Garzik
2001-03-23 15:13                 ` Jeff Garzik
2001-03-23 16:10                 ` Adding just a pinch of icache/dcache pressure Jan Harkes
2001-03-23 16:10                   ` Jan Harkes
2001-03-23 16:17                   ` Andi Kleen
2001-03-23 16:17                     ` Andi Kleen
2001-03-23 16:51                     ` Jan Harkes
2001-03-23 17:21               ` [PATCH] Prevent OOM from killing init Guest section DW
2001-03-23 17:21                 ` Guest section DW
2001-03-23 20:18                 ` Paul Jakma
2001-03-23 20:18                   ` Paul Jakma
2001-03-24 20:19                   ` Jesse Pollard
2001-03-24 20:19                     ` Jesse Pollard
2001-03-23 23:48                 ` Eric W. Biederman
2001-03-23 23:48                   ` Eric W. Biederman
2001-03-23 21:11             ` José Luis Domingo López
2001-03-27 15:05       ` Anthony de Boer - USEnet [this message]
2002-03-23  0:33       ` Martin Dalecki
2002-03-23  0:33         ` Martin Dalecki
2001-03-22 23:53         ` Rik van Riel
2001-03-22 23:53           ` Rik van Riel
2002-03-23  1:21           ` Martin Dalecki
2002-03-23  1:21             ` Martin Dalecki
2001-03-23  0:20         ` Stephen Clouse
2001-03-23  0:20           ` Stephen Clouse
2002-03-23  1:30           ` Martin Dalecki
2002-03-23  1:30             ` Martin Dalecki
2001-03-23  1:37             ` Rik van Riel
2001-03-23  1:37               ` Rik van Riel
2001-03-23 10:48               ` Martin Dalecki
2001-03-23 10:48                 ` Martin Dalecki
2001-03-23 14:56                 ` Rik van Riel
2001-03-23 14:56                   ` Rik van Riel
2001-03-23 16:43                   ` Guest section DW
2001-03-23 16:43                     ` Guest section DW
2001-03-24  5:57                     ` Rik van Riel
2001-03-24  5:57                       ` Rik van Riel
2001-03-25 16:35                       ` Guest section DW
2001-03-25 16:35                         ` Guest section DW
2001-03-23 20:20                   ` Tom Diehl
2001-03-23 23:56                     ` Tim Wright
2001-03-24  0:21                       ` Tom Diehl
2001-03-23 17:26     ` James A. Sutherland
2001-03-23 17:26       ` James A. Sutherland
2001-03-23 17:32       ` Alan Cox
2001-03-23 17:32         ` Alan Cox
2001-03-23 18:58         ` Martin Dalecki
2001-03-23 18:58           ` Martin Dalecki
2001-03-25 13:54           ` [PATCH] OOM handling Martin Dalecki
2001-03-25 13:54             ` Martin Dalecki
2001-03-25 15:06             ` Rik van Riel
2001-03-25 15:06               ` Rik van Riel
2001-03-25 15:20               ` Martin Dalecki
2001-03-25 15:20                 ` Martin Dalecki
2001-03-25 15:50                 ` Jeff Garzik
2001-03-25 17:08                 ` Rik van Riel
2001-03-25 17:08                   ` Rik van Riel
2001-03-25 15:44             ` Jonathan Morton
2001-03-25 15:44               ` Jonathan Morton
2001-03-25 15:47               ` Martin Dalecki
2001-03-25 15:47                 ` Martin Dalecki
2001-03-25 16:36               ` Jonathan Morton
2001-03-25 16:36                 ` Jonathan Morton
2001-03-26 21:34                 ` Kevin Buhr
2001-03-26 21:34                   ` Kevin Buhr
2001-03-26 22:00                 ` Jonathan Morton
2001-03-26 22:00                   ` Jonathan Morton
2001-03-26  2:13             ` Matthew Chappee
2001-03-26 11:33               ` Ingo Oeser
2001-03-26 11:49                 ` Jasper Spaans
2001-03-26 16:11               ` Michael Peddemors
2001-03-23 19:45         ` [PATCH] Prevent OOM from killing init Jonathan Morton
2001-03-23 19:45           ` Jonathan Morton
2001-03-23 23:26           ` Eric W. Biederman
2001-03-23 23:26             ` Eric W. Biederman
2001-03-25 15:30         ` Martin Dalecki
2001-03-25 15:30           ` Martin Dalecki
2001-03-25 20:47         ` Stephen Satchell
2001-03-25 20:47           ` Stephen Satchell
2001-03-25 21:51         ` [PATCH] non-overcommit memory, improved OOM handling, safety margin (was Re: Prevent OOM from killing init) Jonathan Morton
2001-03-25 21:51           ` Jonathan Morton
2001-03-27 15:23           ` Pavel Machek
2001-03-27 15:23             ` Pavel Machek
2001-03-23 20:16       ` [PATCH] Prevent OOM from killing init Jordi Polo
2001-03-24  0:03       ` Guest section DW
2001-03-24  0:03         ` Guest section DW
2001-03-24  7:52       ` Doug Ledford
2001-03-24  7:52         ` Doug Ledford
2001-03-25  0:32       ` Kurt Garloff
2001-03-25 15:02         ` Sandy Harris
2001-03-25 18:07         ` Guest section DW
2001-03-22 14:53   ` Patrick O'Rourke
2001-03-22 14:53     ` Patrick O'Rourke
2001-03-22 19:24   ` Philipp Rumpf
2001-03-22 19:24     ` Philipp Rumpf
2001-03-22 22:20   ` James A. Sutherland
2001-03-22 22:20     ` James A. Sutherland
2001-03-23 17:31   ` Szabolcs Szakacsits
2001-03-23 17:31     ` Szabolcs Szakacsits
2001-03-24  5:54     ` Rik van Riel
2001-03-24  5:54       ` Rik van Riel
2001-03-24  6:55       ` Juha Saarinen
2001-03-24  6:55         ` Juha Saarinen
2001-03-27  8:31       ` Roger Gammans
  -- strict thread matches above, loose matches on Subject: below --
2001-03-21 23:41 Leif Sawyer
2001-03-22  0:32 ` Kevin Buhr
2001-03-22 11:08 Heusden, Folkert van
2001-03-22 11:08 ` Heusden, Folkert van
     [not found] <4605B269DB001E4299157DD1569079D2809930@EXCHANGE03.plaza.ds.adp.com>
2001-03-22 16:29 ` Rik van Riel
2001-03-22 16:29   ` Rik van Riel
2001-03-22 18:32   ` Christian Bodmer
2001-03-22 18:32     ` Christian Bodmer
2001-03-23 15:08     ` Horst von Brand
2001-03-24  7:48       ` Doug Ledford
2001-03-24 10:21         ` Mike Galbraith
2001-03-24 18:19           ` Doug Ledford
2001-03-24 22:47             ` Mike Galbraith
2001-03-24 23:35             ` Jonathan Morton
2001-03-25 18:35               ` Jonathan Morton
2001-03-26  4:40                 ` Horst von Brand
2001-03-26  8:36                 ` Mike Galbraith
2001-03-26 10:01                 ` Jonathan Morton
2001-03-26 14:48                   ` Rik van Riel
2001-03-25 19:07               ` Mike Galbraith
2001-03-24 20:04           ` Jonathan Morton
2001-03-24 20:59           ` Jonathan Morton
2001-03-24 22:11             ` Rik van Riel
2001-03-24 23:36             ` Jonathan Morton
2001-03-25 14:30             ` Martin Dalecki
2001-03-25 14:13           ` Martin Dalecki
2001-03-24 12:42         ` Jonathan Morton
2001-03-24 15:06           ` Mike Galbraith
2001-03-25 14:10         ` Martin Dalecki
2001-03-22 23:35 Mikael Pettersson
2001-03-22 23:43 ` Alan Cox
2001-03-27  7:58   ` Helge Hafting
2001-03-23  0:09 Mikael Pettersson
2001-03-23  0:27 ` Andrew Morton
2001-03-23 12:29   ` Mikael Pettersson
2001-03-23 16:24 ` Horst von Brand
2001-03-23 16:49   ` Guest section DW
2001-03-23 17:04     ` Alan Cox
2001-03-23  9:28 Heusden, Folkert van
2001-03-23  9:28 ` Heusden, Folkert van
2001-03-23  9:48 Only 10 MB/sec with via 82c686b - FIXED Alan Cox
2001-03-23 17:00 ` [PATCH] Prevent OOM from killing init SodaPop
2001-03-23 18:42   ` Martin Dalecki
2001-03-23 20:25     ` SodaPop
2001-03-23 20:33       ` Martin Dalecki
2001-03-23 19:19   ` Jonathan Morton
2001-03-23 18:29 Andries.Brouwer
2001-03-23 18:38 ` Alan Cox
2001-03-24  0:46   ` Tim Wright
2001-03-24 16:48   ` Jesse Pollard
2001-03-25 16:12     ` Szabolcs Szakacsits
2001-03-25 16:39     ` Jonathan Morton
2001-03-23 18:43 ` nick
2001-03-23 19:01   ` Martin Dalecki
2001-03-23 19:23     ` nick
2001-03-23 22:12     ` Alan Cox
2001-03-23 23:23       ` Stephen E. Clark
2001-03-24 10:40         ` Gérard Roudier
2001-03-23 21:14 ` Jonathan Morton
2001-03-25 14:56   ` Marco Colombo
2001-03-23 19:33 Stephen Satchell
2001-03-23 23:15 Andries.Brouwer
2001-03-23 23:17 ` Martin Dalecki
2001-03-24  0:13 ` Jonathan Morton
2001-03-24  6:58   ` Rik van Riel
2001-03-24 12:38   ` Jonathan Morton
2001-03-24 13:12   ` Jonathan Morton
2001-03-24  1:59 ` Paul Jakma
2001-03-24  1:11 Andries.Brouwer
2001-03-24  1:38 Jonathan Morton
2001-03-24  2:30 Andreas Franck
2001-03-24 10:18 Andries.Brouwer
2001-03-24 23:41 Benoit Garnier
2001-03-25  5:45 ` Stephen Satchell
2001-03-25  6:58   ` Stephen Clouse
2001-03-25 14:37   ` Martin Dalecki
2001-03-25 14:32 ` Martin Dalecki
     [not found] <Pine.LNX.4.30.0103251549100.13864-100000@fs131-224.f-secure.com>
     [not found] ` <l03130315b6e242006a4b@[192.168.239.101]>
2001-03-25 15:47   ` Jonathan Morton

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=20010327100508.A19460@leftmind.net \
    --to=abuse@leftmind.net \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.