[lkml]   [1999]   [Jul]   [17]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: Memory hogs
On Sat, 17 Jul 1999, Rogier Wolff wrote:

> > Once you're completely out of memory, you're too late. We
> > can simply start killing once we get very very near...
> That sounds much easier than it is. Once your "near", the machine is
> swapping as if its life depends on it (which happens to be the case :-).

Reinforcing that we need to kill something (Richard, are
you listening?).

> So you decide to shoot my xfig. It wants to save my work.

force_sig(SIGKILL) will usually do it's job quite well :)

It's been extensively tested and it's resemblance to a
serial killer was negligable :)

> What I can immagine to work, is to change the system to
> "single-user" mode quicly. Now every memory allocation will block
> until we're out of the single-user mode. Only our selected program
> is allowed to continue.

Sounds like a winning idea if my OOM killer turns out not
to work good enough in all cases, but experience shows
that already works quite well...


Rik -- Open Source: you deserve to be in control of your data.
| Le Reseau netwerksystemen BV: |
| Linux Memory Management site: |
| Nederlandse Linux documentatie: |

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:53    [W:0.050 / U:2.936 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site