mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Juan Miscaro <jmiscaro@gmail.com>
To: linux-kernel@vger.kernel.org
Subject: How to immunize a process from the OOM Killer
Date: Thu, 29 Oct 2009 15:01:22 -0400	[thread overview]
Message-ID: <d0626390910291201m6e8121abq831867715f5d7d5@mail.gmail.com> (raw)

Hi, I'm running 2.6.24 on Ubuntu.

I've got a OOM Killer gone wild.  I have plenty of free memory (over
40 GB) and lots of processes are being murdered.  Anyway, I would like
to first prevent a few processes from being killed in the hopes of
buying me time (users can work) to discover why the killer is being
invoked in the first place.

I've read in a few places [1] that in order to immunize a process you
need to modify the value of /proc/PID/oom_adj.  Thing is, such files
cannot be edited directly.  How do I achieve my goal?

Thank you,

--
jm

[1]
http://linux-mm.org/OOM_Killer
http://lwn.net/Articles/317814/

             reply	other threads:[~2009-10-29 19:01 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-10-29 19:01 Juan Miscaro [this message]
2009-10-29 19:10 ` David Rientjes
2009-10-30  0:28 ` KAMEZAWA Hiroyuki
2009-10-30 17:26   ` Juan Miscaro
2009-11-02  8:02     ` KAMEZAWA Hiroyuki

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=d0626390910291201m6e8121abq831867715f5d7d5@mail.gmail.com \
    --to=jmiscaro@gmail.com \
    --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®