lkml.org 
[lkml]   [2000]   [Aug]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Out of memory?
Michael Rothwell wrote:

> Killing, for instance, kswapd. On my machine last week, the kernel
> started killing processes. Its first choice was kswapd, and then it went
> on to my window manager and about 10 other programs.
>
> It was pretty retarded.

I agree, killing init, kernel threads, etc, should be the -last- possible choice
of kills. For some reason the OOM killer never seems to get the process that's
currently sucking in memory, it -always- gets the innocent guys and on X
machines invariably kills it thus rendering the machine unusable as the video
isn't recoverable.


> I know Linux overcommits memory and has no way of knowing who the real
> overallocator culprit is, but wouldn't some resource accounting be good?
> Or perhaps a tunable or compile-time option to turn off overcommits?

Yes, it would be good.

-d


--
"The difference between 'involvement' and 'commitment' is like an
eggs-and-ham breakfast: the chicken was 'involved' - the pig was
'committed'."


begin:vcard
n:Ford;David
x-mozilla-html:TRUE
org:<img src="http://www.kalifornia.com/images/paradise.jpg">
adr:;;;;;;
version:2.1
email;internet:david@kalifornia.com
title:Blue Labs Developer
x-mozilla-cpt:;-12480
fn:David Ford
end:vcard
\
 
 \ /
  Last update: 2005-03-22 12:37    [W:0.056 / U:1.236 seconds]
©2003-2018 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site