ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Kirill A. Shutemov" <kirill@shutemov.name>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: Re: [devel] [#73138] FAILED runawfe.git=runawfe-3.4.2_11
Date: Fri, 8 Jun 2012 12:46:32 +0300
Message-ID: <20120608094632.GA2593@shutemov.name> (raw)
In-Reply-To: <20120608085128.GA32340@altlinux.org>

On Fri, Jun 08, 2012 at 12:51:29PM +0400, Dmitry V. Levin wrote:
> On Fri, Jun 08, 2012 at 03:59:40AM +0400, Dmitry V. Levin wrote:
> > On Fri, Jun 08, 2012 at 01:56:09AM +0300, Led wrote:
> > > On Friday 08 June 2012 01:29:07 Dmitry V. Levin wrote:
> > [...]
> > > > Зачем ей понадобилось 30Gb?  Если в /proc/meminfo написано, что есть много
> > > > памяти, это еще не значит, что вся эта память предназначена для jvm.
> > > 
> > > Она везде такая:) (openjdk - не исключение).
> > > Игнорирует limits, смотрит только на то, что "в /proc/meminfo написано".
> > > Обходится:
> > > export _JAVA_OPTIONS="-Xmx=..."
> > 
> > И так в каждом пакете?  Это, наверное, не очень удобно.
> > Попробую заменить "ulimit -v" на memory.limit_in_bytes,
> > по идее должно получиться не только надежнее, но и удобнее.
> 
> После 64-битной сборки libreoffice-3.5.4.2-alt1.src.rpm на tmpfs:
> $ cat memory.max_usage_in_bytes
> 15736041472
> 
> Таким образом, теперь сборка производится со значением 16g в
> memory.limit_in_bytes для каждого сборочного задания.

JFYI, memory.limit_in_bytes не влияет на информацию в /proc/meminfo.

Вот трэд в тему: http://lkml.org/lkml/2012/5/28/299

-- 
 Kirill A. Shutemov


  reply	other threads:[~2012-06-08  9:46 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 22:29 ` Dmitry V. Levin
2012-06-07 22:56   ` Led
2012-06-07 23:59     ` Dmitry V. Levin
2012-06-08  8:51       ` Dmitry V. Levin
2012-06-08  9:46         ` Kirill A. Shutemov [this message]
2012-06-08 10:40           ` Dmitry V. Levin

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=20120608094632.GA2593@shutemov.name \
    --to=kirill@shutemov.name \
    --cc=devel@lists.altlinux.org \
    /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

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git