mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* How to immunize a process from the OOM Killer
@ 2009-10-29 19:01 Juan Miscaro
  2009-10-29 19:10 ` David Rientjes
  2009-10-30  0:28 ` KAMEZAWA Hiroyuki
  0 siblings, 2 replies; 5+ messages in thread
From: Juan Miscaro @ 2009-10-29 19:01 UTC (permalink / raw)
  To: linux-kernel

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/

^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2009-11-02  8:04 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-10-29 19:01 How to immunize a process from the OOM Killer Juan Miscaro
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

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®