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.

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


Received: (at 65446) by debbugs.gnu.org; 18 Dec 2024 02:07:18 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 17 21:07:18 2024
Received: from localhost ([127.0.0.1]:60937 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tNjT4-0003Uk-1G
	for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 21:07:18 -0500
Received: from mail-qk1-f174.google.com ([209.85.222.174]:53337)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1tNjSu-0003UM-Da
 for 65446 <at> debbugs.gnu.org; Tue, 17 Dec 2024 21:07:15 -0500
Received: by mail-qk1-f174.google.com with SMTP id
 af79cd13be357-7b1601e853eso464167985a.2
 for <65446 <at> debbugs.gnu.org>; Tue, 17 Dec 2024 18:07:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1734487567; x=1735092367; darn=debbugs.gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=HavfddgpAfI6hj5AXWW/P6pRvImUG9DGd7cOVRtHI8s=;
 b=j5tLMcpQvishDpjW75xJMWxCyOIUszuxZ90erYS8jGOjcRmyCevTJETEQg8yksq7J8
 XuKqE8piEtfQqyugYE4f7OA/9E53+9nQ5jPEE5x80N6DW9vuMuvJC+AxfyVC3R4m8Trg
 B/BtKwa5kMHuh2RzRu03GVhWAK44l5hfttSbHDKqY4yd0O8oE+qKedoH5PfiEgYiawqh
 dNu8goxofAlYE1wMCGasi3l+tlv2prTJB/p31UPvEY6Lv5/WwjA/MR8xuUfiZF+clJhN
 9YkNPwZs3+blprWZ1PhVrZ60/XuvRvsfOoxt2GdjVCYIapy0QbGChVq25qvwPtWAg+g5
 XpFA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734487567; x=1735092367;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=HavfddgpAfI6hj5AXWW/P6pRvImUG9DGd7cOVRtHI8s=;
 b=SjompEPsPxDWVktxNCLdr0vVSg+8raFbj6MJAIKGywg7/ZdRT36O7sE1X6i6GbklOU
 QTk8EB40VU1c7W/J0XsNWsTq+iDpUkFxPqZ1ckImXiSrqoC3LRRtz8je+cSS7zEzkQUi
 cbZD6ekEIEqNUyPlqZHrU/0Jn4kGWfPyPhx5uN5yxeZP7exnIjsn1xEMl/yy2weyPmqD
 FRGAEmbJ8JW5yxkP1tnxfLkyXEN/z5IZxiDXib/luEvN+kUlcwVXtyGIVFIFbBkWZ6IW
 G399i2W7PHOGWTmPm7T3Qgg/flSJPncin5eKJyQEKzfm8nnq0GdAY7JQTuZnmLZ7SpI7
 0Zlw==
X-Gm-Message-State: AOJu0YyyGG3mB8hsRSQ4BINjQzB8Kkyg/jPeh/joPF+F02j1tEVHWq6J
 3NXI5gFPbCY3GShixbcTUOOYITW4xAoj1aVQNZI7VrKQPEtynM0z
X-Gm-Gg: ASbGnctuqjwlFLW74MIf5J6ZyRE9uyUzm2+7mar7ivTRB9R/6CsTA+uwo7dH18P9Okm
 meXDtQBD+rJ8Ojg5kHvVNubjbxQ9z7+Wn9VofEFsvyLt2VNiUl9gZiKb/t8PyFZiz8tRrPyKoE/
 jOeLla6kVnesLAfToMIr3DGYy3wFAkZkZOKAOkm20out13Y7C6Oq25WKxtb4ryZYDx13pfNV3yc
 uRiqIaOxhPh2eBPhROD7rgF/35jg0tL/X/AiYFDPMkmVpg1c4UhxvNqNNhLMs1zMRMuByMVeO+l
 DA==
X-Google-Smtp-Source: AGHT+IE/3VAghcTvMuhkY3KZPNbrH427zONSZCWb0IXkjdKXXAyYy+dqr2hCtB/Ni+K2lz0S6lZ6Cw==
X-Received: by 2002:a05:620a:248b:b0:7b6:d2bb:25cd with SMTP id
 af79cd13be357-7b8637582bemr173404285a.37.1734487567613; 
 Tue, 17 Dec 2024 18:06:07 -0800 (PST)
Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7b7048caeb4sm376548585a.115.2024.12.17.18.06.03
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 17 Dec 2024 18:06:06 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: "Collin J. Doering" via Bug reports for GNU Guix <bug-guix@HIDDEN>
Subject: Re: bug#65446: [berlin] guix gc throws: "error: build daemon out of
 memory"
In-Reply-To: <87frmnkkyz.fsf@HIDDEN> (Collin J. Doering's message of
 "Mon, 16 Dec 2024 23:11:00 -0500")
References: <87y1i3byz6.fsf@HIDDEN> <87frmnkkyz.fsf@HIDDEN>
Date: Wed, 18 Dec 2024 11:05:55 +0900
Message-ID: <87o719rbi4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65446
Cc: 65446 <at> debbugs.gnu.org, "Collin J. Doering" <collin@HIDDEN>
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: -1.0 (-)

Hello,

"Collin J. Doering" via Bug reports for GNU Guix <bug-guix@HIDDEN>
writes:

> Perhaps worth noting that I've seen this numerous times on cuirass.genenetwork.org.
>
> Usually restarting guix-daemon will allow 'guix gc' to complete
> without error. I see dmesg errors that match what Ludo provided.

Thanks for tipping in; it's a useful thing to know the bug is
reproducible in other environments.

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#65446; Package guix. Full text available.

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


Received: (at submit) by debbugs.gnu.org; 18 Dec 2024 02:06:31 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Tue Dec 17 21:06:30 2024
Received: from localhost ([127.0.0.1]:60933 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tNjSI-0003Sg-HP
	for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 21:06:30 -0500
Received: from lists.gnu.org ([209.51.188.17]:46250)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <maxim.cournoyer@HIDDEN>) id 1tNjSG-0003SX-U8
 for submit <at> debbugs.gnu.org; Tue, 17 Dec 2024 21:06:29 -0500
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 1tNjS1-00013J-CQ
 for bug-guix@HIDDEN; Tue, 17 Dec 2024 21:06:13 -0500
Received: from mail-qk1-x735.google.com ([2607:f8b0:4864:20::735])
 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 1tNjRx-0002Tb-5V
 for bug-guix@HIDDEN; Tue, 17 Dec 2024 21:06:13 -0500
Received: by mail-qk1-x735.google.com with SMTP id
 af79cd13be357-7b6e5ee6ac7so468167285a.0
 for <bug-guix@HIDDEN>; Tue, 17 Dec 2024 18:06:08 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=gmail.com; s=20230601; t=1734487567; x=1735092367; darn=gnu.org;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:from:to:cc:subject:date:message-id:reply-to;
 bh=HavfddgpAfI6hj5AXWW/P6pRvImUG9DGd7cOVRtHI8s=;
 b=O8Ds1p9l6vnvnJcAVfueQJi/Kb/o+9SkRCBMMohNd5RWhrjmZLkkvi7itR+GMsURKa
 L46JkAWgZBDgGsByb8tQF88VG/BOzmqQfTY1OlZXo4adzn9N8lIh4WxDfU6suOuC97Xu
 skov8MDFQ2rp1YCSilm83h4LbqKz5h1YW/sw0Ynzvxj/a0E4TM/Ec1x7Hph9dYzPwyyC
 CEodNL828j+fV3GKDK4lxWcAP/BIk1++HojLXkt+EtJbCYPHzbqPU2eY6uef6L7pz5kO
 vaWWjUNF5W+dXUA76e+2eb83h47h9VFpTZia8tRN4Gn1nefZY+i1SBEnPUtyjcmIGIHz
 J62Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
 d=1e100.net; s=20230601; t=1734487567; x=1735092367;
 h=mime-version:user-agent:message-id:date:references:in-reply-to
 :subject:cc:to:from:x-gm-message-state:from:to:cc:subject:date
 :message-id:reply-to;
 bh=HavfddgpAfI6hj5AXWW/P6pRvImUG9DGd7cOVRtHI8s=;
 b=gBJjNrJSuUviS5EqZF9UOFTmuWH2A65o4OQUCgTnCvkFKVIxZxkDsVAL2wY10R8n8m
 GbBR72FlZOcI2p/r71jk8r251nGIh9UPCx+KR1i3Bxit6JAlTtHjfEsTZri0zbJOKpI8
 oj6gTm2LcEWe+W5QPaRXTuSF7llkt+hcufM3HO2lWJN7KM6xoX7mWFqPffWN9cyQXnsC
 YmEYABBvN6LE7OwVxKK0u77JJpuDXqipdwRDP8aw9Dt1XxyT5re3FMMcbWnRnPybBn8t
 pXJ5Ncgzw5HzZqk42nPTJIoPWPgg54RNdrpZytzCiFS/tB1nj5qgVggDAiKlvaMKCjT5
 wxYg==
X-Gm-Message-State: AOJu0Ywxc7nbPaY0xDcgLtLKTuDmoJpuNN5r/MniD9N7SNqPxZuuLe0B
 78m3d4BJ66goO/27c263a+uPY4kjc323Y++WJJt0NYmVPyQo7seyo/2Cjpb1
X-Gm-Gg: ASbGnctVIlkrurUwhiOZ1kgc3xfCH6gTUZ0GDRJ/qackkiYcCn280/idBU9iywA6kgX
 wi3WCeqx+1WJAmeTayLwqqJG0mQv1nCHk+3q0eikZN2Gp0NVoMK4yto0E7mtPvWWPO59bQh4Awv
 wEHJDtBsaAAHrK50e/4K8k8CQy1MetqX9O0UR229osSm96yojxjnUmL+sruA6qJNFVPh6EEAcNg
 7DK+l1T5dE9karBeig0B3OQB7/Dv/fBqkVCQi0MNj3UDVwdyaPWlh6us1guiq7/0NVYwNtFw2aE
 nw==
X-Google-Smtp-Source: AGHT+IE/3VAghcTvMuhkY3KZPNbrH427zONSZCWb0IXkjdKXXAyYy+dqr2hCtB/Ni+K2lz0S6lZ6Cw==
X-Received: by 2002:a05:620a:248b:b0:7b6:d2bb:25cd with SMTP id
 af79cd13be357-7b8637582bemr173404285a.37.1734487567613; 
 Tue, 17 Dec 2024 18:06:07 -0800 (PST)
Received: from terra (vps-6234970c.vps.ovh.ca. [51.222.13.224])
 by smtp.gmail.com with ESMTPSA id
 af79cd13be357-7b7048caeb4sm376548585a.115.2024.12.17.18.06.03
 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
 Tue, 17 Dec 2024 18:06:06 -0800 (PST)
From: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
To: "Collin J. Doering" via Bug reports for GNU Guix <bug-guix@HIDDEN>
Subject: Re: bug#65446: [berlin] guix gc throws: "error: build daemon out of
 memory"
In-Reply-To: <87frmnkkyz.fsf@HIDDEN> (Collin J. Doering's message of
 "Mon, 16 Dec 2024 23:11:00 -0500")
References: <87y1i3byz6.fsf@HIDDEN> <87frmnkkyz.fsf@HIDDEN>
Date: Wed, 18 Dec 2024 11:05:55 +0900
Message-ID: <87o719rbi4.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13)
MIME-Version: 1.0
Content-Type: text/plain
Received-SPF: pass client-ip=2607:f8b0:4864:20::735;
 envelope-from=maxim.cournoyer@HIDDEN; helo=mail-qk1-x735.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.3 (-)
X-Debbugs-Envelope-To: submit
Cc: 65446 <at> debbugs.gnu.org, "Collin J. Doering" <collin@HIDDEN>
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: -2.3 (--)

Hello,

"Collin J. Doering" via Bug reports for GNU Guix <bug-guix@HIDDEN>
writes:

> Perhaps worth noting that I've seen this numerous times on cuirass.genenetwork.org.
>
> Usually restarting guix-daemon will allow 'guix gc' to complete
> without error. I see dmesg errors that match what Ludo provided.

Thanks for tipping in; it's a useful thing to know the bug is
reproducible in other environments.

-- 
Thanks,
Maxim




Information forwarded to bug-guix@HIDDEN:
bug#65446; Package guix. Full text available.

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


Received: (at 65446) by debbugs.gnu.org; 17 Dec 2024 04:11:52 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Mon Dec 16 23:11:52 2024
Received: from localhost ([127.0.0.1]:57091 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1tNOw1-0006NX-3X
	for submit <at> debbugs.gnu.org; Mon, 16 Dec 2024 23:11:52 -0500
Received: from out-177.mta0.migadu.com ([91.218.175.177]:35568)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <collin@HIDDEN>) id 1tNOvu-0006ND-J0
 for 65446 <at> debbugs.gnu.org; Mon, 16 Dec 2024 23:11:47 -0500
X-Report-Abuse: Please report any abuse attempt to abuse@HIDDEN and
 include these headers.
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=rekahsoft.ca;
 s=key1; t=1734408665;
 h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
 to:to:cc:mime-version:mime-version:content-type:content-type;
 bh=n1S2Hh5Gv8sG/ceJ0Q91dhzWrWWaUmOKAi6zWV84Eso=;
 b=igq9iMZVSSaikLwy3fAaUqL1UTPLjsJqQObG3p62AxCDkiUhcHhiBuddCaTaj4kBK6gH62
 hvR2QNOCUQ/Wj28rJ2p8IetFaxNhCDCiz22HrkryxYEQ/odp+whF5LyL6afQGacDHKCQf5
 8hTI5+IL27pA9Cp0x5hv4a/iwJcLaLE=
From: "Collin J. Doering" <collin@HIDDEN>
To: 65446 <at> debbugs.gnu.org
Subject: [berlin] guix gc throws: "error: build daemon out of memory"
Date: Mon, 16 Dec 2024 23:11:00 -0500
Message-ID: <87frmnkkyz.fsf@HIDDEN>
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-=";
 micalg=pgp-sha512; protocol="application/pgp-signature"
X-Migadu-Flow: FLOW_OUT
X-Spam-Score: 0.0 (/)
X-Debbugs-Envelope-To: 65446
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: -1.0 (-)

--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

Perhaps worth noting that I've seen this numerous times on cuirass.genenetw=
ork.org.

Usually restarting guix-daemon will allow 'guix gc' to complete without err=
or. I see dmesg errors that match what Ludo provided.

Kind regards

=2D-=20
Collin J. Doering

http://rekahsoft.ca
http://blog.rekahsoft.ca
http://git.rekahsoft.ca

--=-=-=
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iIoEARYKADIWIQSg4F3ACfM0j/GRGeP3fjGTl82nFgUCZ2D51BQcY29sbGluQHJl
a2Foc29mdC5jYQAKCRD3fjGTl82nFl2CAP91X5LwUGzxpdiysfRQXKKkQvpKUX+v
+N3o20omkpwUUgD+OCV1/PGU1xhR7UJZlyDTV+cD9DWBpr5VaR+F/6W8Zw8=
=25oQ
-----END PGP SIGNATURE-----
--=-=-=--




Information forwarded to bug-guix@HIDDEN:
bug#65446; Package guix. Full text available.

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


Received: (at 65446) by debbugs.gnu.org; 2 Sep 2023 20:34:07 +0000
From debbugs-submit-bounces <at> debbugs.gnu.org Sat Sep 02 16:34:07 2023
Received: from localhost ([127.0.0.1]:38739 helo=debbugs.gnu.org)
	by debbugs.gnu.org with esmtp (Exim 4.84_2)
	(envelope-from <debbugs-submit-bounces <at> debbugs.gnu.org>)
	id 1qcXJm-0007Cg-Oc
	for submit <at> debbugs.gnu.org; Sat, 02 Sep 2023 16:34:07 -0400
Received: from eggs.gnu.org ([2001:470:142:3::10]:48644)
 by debbugs.gnu.org with esmtp (Exim 4.84_2)
 (envelope-from <ludo@HIDDEN>) id 1qcXJj-0007CB-Cd
 for 65446 <at> debbugs.gnu.org; Sat, 02 Sep 2023 16:34:05 -0400
Received: from fencepost.gnu.org ([2001:470:142:3::e])
 by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256)
 (Exim 4.90_1) (envelope-from <ludo@HIDDEN>)
 id 1qcXJT-00037B-TZ; Sat, 02 Sep 2023 16:33:47 -0400
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org;
 s=fencepost-gnu-org; h=MIME-Version:In-Reply-To:Date:References:Subject:To:
 From; bh=qZ8cLC1ya8z65Y8D62/UQJiuIB5jiCppgb0jIOftkLE=; b=edcSM2Zlpn6ZbjYZHgSP
 K2hfqJq4X1XjuIHGjse0vSccOrKsdGWqSZLXJ+Q+q0DaYi2peeETLcmrJDxr5UEhiefETpbRWXeOW
 ZeCNnOs8AU52ys/yl9rsEizG2MJ29j7700Yjzi5GQs66TNZ1F3wUYduPI1shwoPiAYRx0AzRhKOph
 u18Dkw6HqG7PRqRqpt4gUO3iZ5et+QKMAKzpR9HKZgQKnNQo+ALXYeY9rWg5a/0jEshg6vm29JUb8
 0kviuhQtKnHKmedkd78E7Cw+MrAbV2iLFu6IuX8Mmy2forOsMz2w07lYQyzx6ulm+5Zcchg7hTZpD
 RDwaz3rl5G/JQQ==;
From: =?utf-8?Q?Ludovic_Court=C3=A8s?= <ludo@HIDDEN>
To: Maxim Cournoyer <maxim.cournoyer@HIDDEN>
Subject: Re: bug#65446: [berlin] guix gc throws: "error: build daemon out of
 memory"
References: <87y1i3byz6.fsf@HIDDEN>
Date: Sat, 02 Sep 2023 22:33:44 +0200
In-Reply-To: <87y1i3byz6.fsf@HIDDEN> (Maxim Cournoyer's message of "Mon, 21
 Aug 2023 22:19:25 -0400")
Message-ID: <87jzt8e2mv.fsf@HIDDEN>
User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.2 (gnu/linux)
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-Spam-Score: -2.3 (--)
X-Debbugs-Envelope-To: 65446
Cc: 65446 <at> debbugs.gnu.org, Leo Famulari <leo@HIDDEN>
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: -3.3 (---)

Hi!

Maxim Cournoyer <maxim.cournoyer@HIDDEN> skribis:

> Since a few days on Berlin, the following appears in /var/log/mcron.log:
>
> 2023-08-22 04:00:29 28215 /gnu/store/4lmpqf8dnk86avq5xa2l6bznxnmrz27x-gui=
x-1.4.0-7.44bbfc2/bin/guix gc: guix gc: error: build daemon out of memory
>
>
> It's not just a fluke, according to the kernel's dmesg:
>
> [7190243.475312] __vm_enough_memory: pid: 28300, comm: guix-daemon, not e=
nough memory for the allocation
>
>
> Once it appears, it can be triggered simply by running 'guix gc'.  The
> problem can be worked around by restarting the Guix daemon, with:
>
> herd restart guix-daemon
>
> Any ideas what could cause such a condition?

No idea!

I ran =E2=80=9Cguix gc -C0=E2=80=9D minutes ago, which reproduced the probl=
em;
/var/log/guix-daemon.log reads this:

--8<---------------cut here---------------start------------->8---
2023-09-02 21:40:31 accepted connection from pid 12853, user ludo
2023-09-02 21:40:50 unexpected build daemon error: std::bad_alloc
--8<---------------cut here---------------end--------------->8---

and the kernel writes what you wrote above:

--8<---------------cut here---------------start------------->8---
Sep  2 21:40:50 localhost vmunix: [8204269.198144] __vm_enough_memory: pid:=
 12873, comm: guix-daemon, not enough memory for the allocation
Sep  2 21:40:50 localhost vmunix: [8204269.207396] __vm_enough_memory: pid:=
 12873, comm: guix-daemon, not enough memory for the allocation
Sep  2 21:40:50 localhost vmunix: [8204269.216639] __vm_enough_memory: pid:=
 12873, comm: guix-daemon, not enough memory for the allocation
--8<---------------cut here---------------end--------------->8---

My reading of the Linux code is =E2=80=98__vm_enough_memory=E2=80=99 is use=
d by Linux
Security Modules (LSM), so perhaps something changed in our kernel
config, be it compile-time or run-time?  (Cc: Leo just in case.)

This is with Linux-libre 6.3.4-gnu.

Ludo=E2=80=99.




Information forwarded to bug-guix@HIDDEN:
bug#65446; Package guix. Full text available.
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: Sun, 12 Jan 2025 05:45:02 UTC

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