lkml.org 
[lkml]   [2008]   [Apr]   [1]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: OOM (HighMem) on linux 2.6.24.2
From
Date
On Tue, 2008-04-01 at 04:31 +0200, Denys Vlasenko wrote:
> On Thursday 20 March 2008 11:04, Kevin Shanahan wrote:
> > Feb 28 06:32:20 hermes kernel: 5313 pages slab
> > Feb 28 06:32:20 hermes kernel: 2632 pages pagetables
> > Feb 28 06:32:20 hermes kernel: Out of memory: kill process 24013 (apache2) score 22070 or a child
> > Feb 28 06:32:20 hermes kernel: Killed process 24013 (apache2)
> >
> > Looks like the HighMem low watermark was hit again (though I've no idea
> > if that's actually significant).
>
> 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.



\
 
 \ /
  Last update: 2008-04-01 07:01    [from the cache]
©2003-2011 Jasper Spaans