lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.DEB.2.00.1002091906020.31159@chino.kir.corp.google.com>
Date:	Tue, 9 Feb 2010 19:10:10 -0800 (PST)
From:	David Rientjes <rientjes@...gle.com>
To:	Oliver Neukum <oliver@...kum.org>
cc:	Jiri Kosina <jkosina@...e.cz>, Lubos Lunak <l.lunak@...e.cz>,
	Balbir Singh <balbir@...ux.vnet.ibm.com>,
	Rik van Riel <riel@...hat.com>, linux-mm@...ck.org,
	linux-kernel@...r.kernel.org,
	Andrew Morton <akpm@...ux-foundation.org>,
	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>,
	Nick Piggin <npiggin@...e.de>
Subject: Re: Improving OOM killer

On Fri, 5 Feb 2010, Oliver Neukum wrote:

> > That's what we're trying to do, we can look at the shear number of 
> > children that the parent has forked and check for it to be over a certain 
> > "forkbombing threshold" (which, yes, can be tuned from userspace), the 
> > uptime of those children, their resident set size, etc., to attempt to 
> > find a sane heuristic that penalizes them.
> 
> Wouldn't it be saner to have a selection by user, so that users that
> are over the overcommit limit are targeted?
> 

It's rather unnecessary for the forkbomb case because then it would 
unfairly penalize any user that runs lots of tasks.  The forkbomb handling 
code is really to prevent either user error, bugs in the application, or 
maliciousness.  The goal isn't necessarily to kill anything that forks an 
egregious amount of tasks (which is why we always prefer a child with a 
seperate address space than a parent, anyway) but rather to try to make 
sure the system is still usable and recoverable.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ