GNU bug report logs - #65446
[berlin] guix gc throws: "error: build daemon out of memory"

Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.

Package: guix; Severity: important; Reported by: Maxim Cournoyer <maxim.cournoyer@HIDDEN>; dated Tue, 22 Aug 2023 02:20:02 UTC; Maintainer for guix is bug-guix@HIDDEN.
Severity set to 'important' from 'normal' Request was from Ludovic Courtès <ludo@HIDDEN> to control <at> debbugs.gnu.org. Full text available.
Changed bug title to '[berlin] guix gc throws: "error: build daemon out of memory"' from '[cuirass] guix gc throws: "error: build daemon out of memory"' Request was from Maxim Cournoyer <maxim.cournoyer@HIDDEN> to control <at> debbugs.gnu.org. Full text available.

Message received at submit <at> debbugs.gnu.org:


Received: (at submit) by debbugs.gnu.org; 22 Aug 2023 02:19:42 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Aug 21 22:19:41 2023
Received: from localhost ([127.0.0.1]:58171 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qYGzd-0005zh-Le
	for submit <at> debbugs.gnu.org; Mon, 21 Aug 2023 22:19:41 -0400
Received: from lists.gnu.org ([2001:470:142::17]:46482)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1qYGzb-0005zQ-EV
 for submit <at> debbugs.gnu.org; Mon, 21 Aug 2023 22:19:39 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10])
 by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1qYGzT-0006JI-9x
 for bug-guix@HIDDEN; Mon, 21 Aug 2023 22:19:31 -0400
Received: from mail-qk1-x72a.google.com ([2607:f8b0:4864:20::72a])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128)
 (Exim 4.90_1) (envelope-from <maxim.cournoyer@HIDDEN>)
 id 1qYGzR-0006A7-79
 for bug-guix@HIDDEN; Mon, 21 Aug 2023 22:19:31 -0400
Received: by mail-qk1-x72a.google.com with SMTP id
 af79cd13be357-76d873c6e8aso262754285a.1
 for <bug-guix@HIDDEN>; Mon, 21 Aug 2023 19:19:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20221208; t=1692670768; x=1693275568;
 h=mime-version:message-id:date:subject:to:from:from:to:cc:subject
 :date:message-id:reply-to;
 bh=yO+K5DYa2OE2UWTEtFXpjAV2D3U63p91FM8lPEayRoI=;
 b=d7wyj25lY2t7z8s+9XZRMfcL0wOaNYYk/zVs6I1lb7v+UR4II5Tm0W6yV65A1Y8c11
 LGe9KN9ZeVfagqqJYKVW1DjRft0EvBO4wXVnby9DIbL9keZRA3+qOiJGNU1NbsPNJ6kH
 zis3b2hdpTzbr2waelxZGLV+fdQ5mSIPxykH4D3/dIe0n1+ygew89nxEo0kOzISlRzFT
 3YshZounmVzHITp12/H4GOsanmZykbXk5LEpbA987IdZWHJQcRjvNVJuLu8PjVHvFQk8
 OMLYJJq0xMj4juyE516nYvw2J/UeBoan0kjztaqAq6dcsWm5J1JP+tXU7TYS0zPsQhq5
 9FDA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20221208; t=1692670768; x=1693275568;
 h=mime-version:message-id:date:subject:to:from:x-gm-message-state
 :from:to:cc:subject:date:message-id:reply-to;
 bh=yO+K5DYa2OE2UWTEtFXpjAV2D3U63p91FM8lPEayRoI=;
 b=eMQ1zaHoG3SHwxnxie7XK3/2mIRND0GT/GJcYgfzbS5ZdPpMYGreWKKkT2NfjjRfI+
 6gNC4WlmFxAJ1XSzvglBAxBcV+YM0zOpp2jP8vXdCuUGbn5jUjL+qqLK6z385dvdJOFN
 p9Qed9sCS5uXlRmHMYzGkRlEib57MEl0gWFG315JJNIpHJ3VfqOIGMXMOGy/NtubXlf3
 r0EBwJeLKP9I+Ykj4UVrPgoNn2Ymq6izUJTJRDbRWcAL1YNF++vJKgHzR7LfsJBsunVu
 ul0JhNF2OI6xQr7+sqyyalW6X6493YXHCWcktphgugNNL2TvBjQ6Q17h4c/5q9YcnTXX
 Cnvw==
X-Gm-Message-State: AOJu0YyK6nby0Mxunuh+eVWOkJC+PitYBXDIukZeP8+SBTlvCLrLwTJz
 8C+HfqwArI2CUXGBkKBa1mi/Ew3MX/k=
X-Google-Smtp-Source: AGHT+IFcjw07e78dTV89tp4UXezHEIt5gfPSd75jruGEeMx0FmNbM5G2N87dK6qaqebTU1JnA8o5rg==
X-Received: by 2002:a05:620a:2a01:b0:765:4dba:92fb with SMTP id
 o1-20020a05620a2a0100b007654dba92fbmr12915588qkp.15.1692670767755; 
 Mon, 21 Aug 2023 19:19:27 -0700 (PDT)
Received: from hurd (dsl-10-148-105.b2b2c.ca. [72.10.148.105])
 by smtp.gmail.com with ESMTPSA id
 g13-20020ae9e10d000000b0076827ce13f6sm2919433qkm.10.2023.08.21.19.19.26
 for <bug-guix@HIDDEN>
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Mon, 21 Aug 2023 19:19:27 -0700 (PDT)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: bug-guix <bug-guix@HIDDEN>
Subject: [cuirass] guix gc throws: "error: build daemon out of memory"
Date: Mon, 21 Aug 2023 22:19:25 -0400
Message-ID: <87y1i3byz6.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::72a;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x72a.google.com
X-Spam_score_int: -20
X-Spam_score: -2.1
X-Spam_bar: --
X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1,
 DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
 RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001,
 SPF_PASS=-0.001 autolearn=ham autolearn_force=no
X-Spam_action: no action
X-Spam-Score: 1.0 (+)
X-Debbugs-Envelope-To: submit
X-BeenThere: debbugs-submit <at> debbugs.gnu.org
X-Mailman-Version: 2.1.18
Precedence: list
List-Id: <debbugs-submit.debbugs.gnu.org>
List-Unsubscribe: <https://debbugs.gnu.org/cgi-bin/mailman/options/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=unsubscribe>
List-Archive: <https://debbugs.gnu.org/cgi-bin/mailman/private/debbugs-submit/>
List-Post: <mailto:debbugs-submit <at> debbugs.gnu.org>
List-Help: <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=help>
List-Subscribe: <https://debbugs.gnu.org/cgi-bin/mailman/listinfo/debbugs-submit>, 
 <mailto:debbugs-submit-request <at> debbugs.gnu.org?subject=subscribe>
Errors-To: debbugs-submit-bounces <at> debbugs.gnu.org
Sender: "Debbugs-submit" <debbugs-submit-bounces <at> debbugs.gnu.org>
X-Spam-Score: -0.0 (/)

Hi,

Since a few days on Berlin, the following appears in /var/log/mcron.log:

--8<---------------cut here---------------start------------->8---
2023-08-22 04:00:29 28215 /gnu/store/4lmpqf8dnk86avq5xa2l6bznxnmrz27x-guix-1.4.0-7.44bbfc2/bin/guix gc: guix gc: error: build daemon out of memory
--8<---------------cut here---------------end--------------->8---

It's not just a fluke, according to the kernel's dmesg:

--8<---------------cut here---------------start------------->8---
[7190243.475312] __vm_enough_memory: pid: 28300, comm: guix-daemon, not enough memory for the allocation
--8<---------------cut here---------------end--------------->8---

Once it appears, it can be triggered simply by running 'guix gc'.  The
problem can be worked around by restarting the Guix daemon, with:

--8<---------------cut here---------------start------------->8---
herd restart guix-daemon
--8<---------------cut here---------------end--------------->8---

Any ideas what could cause such a condition?

The machine hasn't been rebooted in 83 days, perhaps we should start
with that.

-- 
Thanks,
Maxim




Acknowledgement sent to Maxim Cournoyer <maxim.cournoyer@HIDDEN>:
New bug report received and forwarded. Copy sent to bug-guix@HIDDEN. Full text available.
Report forwarded to bug-guix@HIDDEN:
bug#65446; Package guix. Full text available.
Please note: This is a static page, with minimal formatting, updated once a day.
Click here to see this page with the latest information and nicer formatting.
Last modified: Sat, 2 Sep 2023 16:45:01 UTC

GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.