mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: KOSAKI Motohiro <kosaki.motohiro@jp.fujitsu.com>
To: Denys Vlasenko <vda.linux@googlemail.com>
Cc: kosaki.motohiro@jp.fujitsu.com,
	Peter Zijlstra <peterz@infradead.org>,
	Kevin Shanahan <kmshanah@ucwb.org.au>,
	linux-kernel@vger.kernel.org
Subject: Re: OOM (HighMem) on linux 2.6.24.2
Date: Tue, 01 Apr 2008 17:38:10 +0900	[thread overview]
Message-ID: <20080401173400.1711.KOSAKI.MOTOHIRO@jp.fujitsu.com> (raw)
In-Reply-To: <200804011017.35352.vda.linux@googlemail.com>

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


      reply	other threads:[~2008-04-01  8:38 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-03-20  0:48 Kevin Shanahan
2008-03-20  8:44 ` Jiri Slaby
2008-03-20 10:17   ` Kevin Shanahan
2008-03-20  8:54 ` Peter Zijlstra
2008-03-20 10:04   ` Kevin Shanahan
2008-04-01  2:31     ` Denys Vlasenko
2008-04-01  4:57       ` Peter Zijlstra
2008-04-01  8:17         ` Denys Vlasenko
2008-04-01  8:38           ` KOSAKI Motohiro [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080401173400.1711.KOSAKI.MOTOHIRO@jp.fujitsu.com \
    --to=kosaki.motohiro@jp.fujitsu.com \
    --cc=kmshanah@ucwb.org.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=peterz@infradead.org \
    --cc=vda.linux@googlemail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®