lkml.org 
[lkml]   [2008]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: 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



\
 
 \ /
  Last update: 2008-04-01 10:41    [W:0.042 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site