From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id wGv2IyM1N2F/7wAAgWs5BA (envelope-from ) for ; Tue, 07 Sep 2021 11:47:15 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CN2RHyM1N2EuBAAAbx9fmQ (envelope-from ) for ; Tue, 07 Sep 2021 09:47:15 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id D46112A109 for ; Tue, 7 Sep 2021 11:47:14 +0200 (CEST) Received: from localhost ([::1]:38538 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mNXhA-0007Rs-O2 for larch@yhetil.org; Tue, 07 Sep 2021 05:47:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34382) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mNXh0-0007RZ-JZ for bug-guix@gnu.org; Tue, 07 Sep 2021 05:47:05 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:43878) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mNXh0-0006s0-47 for bug-guix@gnu.org; Tue, 07 Sep 2021 05:47:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mNXgz-0003gx-Sa for bug-guix@gnu.org; Tue, 07 Sep 2021 05:47:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50353: Excessive temproots size when running guix build Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 07 Sep 2021 09:47:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50353 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: Ludovic =?UTF-8?Q?Court=C3=A8s?= , Christopher Baines Received: via spool by 50353-submit@debbugs.gnu.org id=B50353.163100796214106 (code B ref 50353); Tue, 07 Sep 2021 09:47:01 +0000 Received: (at 50353) by debbugs.gnu.org; 7 Sep 2021 09:46:02 +0000 Received: from localhost ([127.0.0.1]:55424 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNXg2-0003fK-Fo for submit@debbugs.gnu.org; Tue, 07 Sep 2021 05:46:02 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:38710) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mNXg0-0003ek-Fe for 50353@debbugs.gnu.org; Tue, 07 Sep 2021 05:46:01 -0400 Received: from butterfly.local ([188.188.3.227]) by laurent.telenet-ops.be with bizsmtp id qxlv2500l4tskic01xlw1M; Tue, 07 Sep 2021 11:45:58 +0200 Message-ID: <8b57f8cef097e56b0db3ae2f6bc4519bf4046776.camel@telenet.be> From: Maxime Devos Date: Tue, 07 Sep 2021 11:45:33 +0200 In-Reply-To: <87czpl7691.fsf@gnu.org> References: <874kb2q91r.fsf@cbaines.net> <87czpl7691.fsf@gnu.org> Content-Type: multipart/signed; micalg="pgp-sha512"; protocol="application/pgp-signature"; boundary="=-P/1tuDcgYCb0Q8GyH2Ot" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1631007958; bh=0ZhvGsRpDRk0kYD3psz1LfTEQFpLmYtlCkSL9MDWvxw=; h=Subject:From:To:Cc:Date:In-Reply-To:References; b=XQLTCB2TK1NaJryZEg9ZXd9PfJ15rabOESouYDjsJTIHeOlYSh6dOOKBnyuq35FpF UB7UNSxhxxsaZln+TKQ8NW2N71mXublnq326D3aWPZNnDLIZ6rZ1KMOeopssFTGZvX Nt4KAXTgJL5G1P0mo6IAzJ8A/ayz8ZjH5V7HcGXVmQ91jNpl5Ni5SGyjwj7yl+jQ0f uyKxtBg8EEiFUhuJOFNkyviB+ivNxwDx6xfgFD3ghxzm0oafeLxYo8XdQWk4JV+yej I03nPpkUf72nepHbVaYFd70h7A+ZmomELfyRewPm+KfzV5EJl9sG3ipY3xz05jLQ39 iBbHhmQ88hpWQ== X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: 50353@debbugs.gnu.org Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1631008035; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=0ZhvGsRpDRk0kYD3psz1LfTEQFpLmYtlCkSL9MDWvxw=; b=koY/xljhJCyVUaWnZPd1y9grfwlrqlhM6UFSn5xKCszhYbhmMm8fFeiJaHnJh8DpSIDygz /xCc6G3XaTdJJ97wRNjFfW+lhNhyl/YKbyKZ9T6kDraBFbFvlsJnQkf84Idp39uQ7NGHI8 vRnd/kE7zxb0lZxKjpp0vSXTDFfTJORayK3nDyMGlvuxoMm6ZgCfZeaFr8xv0cWl2Fqlx6 5aH+jenYMwE8Q4F4BmJhh1EHk+S3AtBEeAoIa7LmMSsskxl8Cvcz4wFuVaf7XHzWP1kEmi PZcBvtO8b8Y3DWV29Vn2PQfzfKzPew32xzpofscZ0b/bNp3Y+Bd0sISyyHF+mQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1631008035; a=rsa-sha256; cv=none; b=PTkCT1MJfPjQ8hGU4pjcr6Cw8ibvt3FtFe6DSM2FGcC2Mohi05nLqnE77nuO9VbaxZ1Q5Z zGSdF6e48JdawTzmD506M/ZwtUMS3SsA2RnGcaVJVweAPlwt/q33FKQRuyw4fWY2XbjHYU /TVOxTUayKOSR6GkXSlV3ybi0vjVBxqppQq3fA1c1GJH1Y0/m/f1hn1DuJaPHebheJT7ih 4sHrPnFnuue40NIXJ3NbhN+Bvs0Q4P+W68yUx9FQxNuARKWnFwu+9LSsfPd3aMG7kHiVCc /nXmzqNXrULt8loFLmRSvMcN5SppIpc71oenAPtG+5RX50u0EAP8dhOAxZ5Vkw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=XQLTCB2T; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: -1.91 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=XQLTCB2T; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: D46112A109 X-Spam-Score: -1.91 X-Migadu-Scanner: scn0.migadu.com X-TUID: DmG650ryB3YR --=-P/1tuDcgYCb0Q8GyH2Ot Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Ludovic Court=C3=A8s schreef op ma 06-09-2021 om 23:18 [+0200]: > Hi, >=20 > Christopher Baines skribis: >=20 > > I spotted a problem with data.guix.gnu.org trying to process this old > > revision [1] > >=20 > > 1: https://data.guix.gnu.org/revision/75dabac633bb9a33efbebf859f8aa4bb3= b9582b2 > >=20 > > The machine ran out of disk space, as a ~30GiB file had been created in > > /var/guix/temproots. >=20 > Sounds fishy. Those files contain a nul-separated list of GC roots > (store file names). Thus, a file in there is proportional to the number > of =E2=80=98add-temp-root=E2=80=99 RPCs made by the client during the ses= sion. >=20 > A client with a long-running session (=E2=80=98guix publish=E2=80=99, Coo= rdinator, Data > Service, Cuirass, etc.) that regularly adds temp roots makes that file > grow endlessly. FWIW, temp roots are added in =E2=80=98DerivationGoal::DerivationGoal=E2=80= =99 when building things, and =E2=80=98DerivationGOal::haveDerivation=E2=80=99, =E2=80=98SubstitutionGoal::init=E2=80=99, =E2=80=98LocalStore::optimiseStor= e=E2=80=99 =E2=80=98LocalStore::addToStoreFromDump=E2=80=99, =E2=80=98LocalStore::addT= extToStore=E2=80=99, =E2=80=98LocalStore::createTempDirInStore=E2=80=99 and =E2=80=98LocalStore:= :importPath=E2=80=99. I.e., temp roots are not only added from the add-temp-root RPC. Greetings, Maxime. --=-P/1tuDcgYCb0Q8GyH2Ot Content-Type: application/pgp-signature; name="signature.asc" Content-Description: This is a digitally signed message part Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNATURE----- iI0EABYKADUWIQTB8z7iDFKP233XAR9J4+4iGRcl7gUCYTc0vRccbWF4aW1lZGV2 b3NAdGVsZW5ldC5iZQAKCRBJ4+4iGRcl7vPzAQCiSb+g4emT66LaUwlSL+R41KAn 0gi42mlTJDfrCfCN5wEA5sbGvOmrrk4BB1kFQ7vwKOAAyk/q/ZEqLXvxhX97UA8= =4Rne -----END PGP SIGNATURE----- --=-P/1tuDcgYCb0Q8GyH2Ot--