lkml.org 
[lkml]   [2004]   [Dec]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [PATCH] oom killer (Core)
On Sun, Dec 05, 2004 at 02:38:22PM +0100, Thomas Gleixner wrote:
> Andrea provided a quite good fix for the invokation problem. I'm just
> tracking down a different problem which was revieled by his changes.
>
> The selection mechanism is currently taking a couple of things into
> account:
>
> - VM size
> - nice value
> - CPU time
> - owner == root ?
> - CAP_SYS_RAWIO
>
> I found out, that it is neccecary to take the child processes into
> account to detect processes which fork a lot of childs.
>
> The current mechanism rather kills sshd or portmap as they happen to
> have a bigger VM size than the process which forked a lot of childs.

Taking childs into account looks fine to me.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:08    [W:1.104 / U:1.476 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site