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] [day] [month] [year] [list]
Date:	Tue, 01 Apr 2008 17:38:10 +0900
From:	KOSAKI Motohiro <kosaki.motohiro@...fujitsu.com>
To:	Denys Vlasenko <vda.linux@...glemail.com>
Cc:	kosaki.motohiro@...fujitsu.com,
	Peter Zijlstra <peterz@...radead.org>,
	Kevin Shanahan <kmshanah@...b.org.au>,
	linux-kernel@...r.kernel.org
Subject: Re: OOM (HighMem) on linux 2.6.24.2

Hi

> > > I kno that people routinely forget to do that, but
> > > at least for purely paranoid reasons you are better
> > > to run all daemons with setrlimit'ed memory size.
> > > At least all daemons which you cannot reasonably
> > > trust to be 100% leak-free and to have bounded
> > > peak memory usage.
> > 
> > Afaik we don't actually implement RLIMIT_RSS.
> 
> I don't know, but the following definitely works for me:
> 
> # softlimit -a 12000000 ./oom

probably you restrict virtuan address space, not rss.
but IMHO its restricsion can solve originaly problem.

Thanks

--
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