ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: "Антон Мидюков" <midyukov-anton@ya.ru>
To: devel@lists.altlinux.org
Subject: Re: [devel] Как увеличить wlimit_time_idle в hasher?
Date: Mon, 21 May 2018 15:41:16 +0700
Message-ID: <9313dfc9-33ca-e184-9dec-47fb7bcc6e7d@ya.ru> (raw)
In-Reply-To: <20180521083408.GA24035@glebfm.cloud.tilaa.com>

21.05.2018 15:34, Gleb Fotengauer-Malinovskiy пишет:
> On Mon, May 21, 2018 at 02:05:59PM +0700, Антон Мидюков wrote:
>> Добрый день!
>>
>> Захотелось мне попробовать собирать дистрибутивы для aarch64. Но
>> столкнулся с проблемой низкой производительности своего железа.
>>
>> Сборка рвётся во время установки пакетов:
>>
>> <13>May 21 06:29:38 rpmi: fbset-1:2.1-alt2 1452374000 installed
>>
>> hasher-priv: master: idle time limit (600 seconds) exceeded
>> hsh-install: Packages installation failed.
>> mki-invalidate-cache: has started executing for 'build-image'.
>> make[2]: *** [/usr/share/mkimage/targets.mk:111: build-image] Error 1
>> Command exited with non-zero status 2
>> 23:32.92 20%CPU 105324k
>>
>>
>> В $HOME/.hasher/config лимиты у меня расширены так:
>>
>> wlimit_time_short=360000
>> wlimit_time_long=360000
> Проблема в mkimage -- он запускает hasher через env -i, так что переменная
> HOME просто теряется и этот конфиг вообще не используется.
>
> http://git.altlinux.org/gears/m/..git?p=mkimage.git;f=tools/mki-sh-image-prepare;h=27a2980ee1aae3607c567a6db294c4c944c09403#l19
>
> Проблема в том что так было с самого начала и у кого-то наверняка
> сломается сборка образов если просто начать сохранять эту переменную.
Вот оно что. А кроме правки mki-sh-image-prepare, что-нибудь сделать 
можно? Общестистемно в /etc/ никакой конфиг поправить нельзя?

-- 
С уважением, Антон Мидюков <antohami@altlinux.org>



  reply	other threads:[~2018-05-21  8:41 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-05-21  7:05 Антон Мидюков
2018-05-21  8:34 ` Gleb Fotengauer-Malinovskiy
2018-05-21  8:41   ` Антон Мидюков [this message]
2018-05-21  9:38     ` Alexey V. Vissarionov

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=9313dfc9-33ca-e184-9dec-47fb7bcc6e7d@ya.ru \
    --to=midyukov-anton@ya.ru \
    --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