From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id iPCEEYHgdGBafwEAgWs5BA (envelope-from ) for ; Tue, 13 Apr 2021 02:06:25 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YLNZC4HgdGDQNQAAbx9fmQ (envelope-from ) for ; Tue, 13 Apr 2021 00:06:25 +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 383AA26BDB for ; Tue, 13 Apr 2021 02:06:20 +0200 (CEST) Received: from localhost ([::1]:39918 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lW6ZQ-00075w-16 for larch@yhetil.org; Mon, 12 Apr 2021 20:06:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38416) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW6ZA-00075M-8b for bug-guix@gnu.org; Mon, 12 Apr 2021 20:06:06 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46822) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lW6Z8-0005ZW-LM for bug-guix@gnu.org; Mon, 12 Apr 2021 20:06:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lW6Z8-0006qb-GN for bug-guix@gnu.org; Mon, 12 Apr 2021 20:06:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47717: guix outrageously exhaust itself (freeze) when there is package build failure Resent-From: raingloom Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Tue, 13 Apr 2021 00:06:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 47717 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 47717@debbugs.gnu.org X-Debbugs-Original-To: Tobias Geerinckx-Rice via Bug reports for GNU Guix X-Debbugs-Original-Cc: bo0od , Tobias Geerinckx-Rice , 47717@debbugs.gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161827233026268 (code B ref -1); Tue, 13 Apr 2021 00:06:02 +0000 Received: (at submit) by debbugs.gnu.org; 13 Apr 2021 00:05:30 +0000 Received: from localhost ([127.0.0.1]:58368 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW6Yb-0006pc-St for submit@debbugs.gnu.org; Mon, 12 Apr 2021 20:05:30 -0400 Received: from lists.gnu.org ([209.51.188.17]:40922) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lW6Ya-0006pO-51 for submit@debbugs.gnu.org; Mon, 12 Apr 2021 20:05:28 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:38272) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW6YZ-0006jK-B9 for bug-guix@gnu.org; Mon, 12 Apr 2021 20:05:27 -0400 Received: from mx1.riseup.net ([198.252.153.129]:45288) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lW6YW-00058X-HZ for bug-guix@gnu.org; Mon, 12 Apr 2021 20:05:26 -0400 Received: from fews1.riseup.net (fews1-pn.riseup.net [10.0.1.83]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client CN "*.riseup.net", Issuer "Sectigo RSA Domain Validation Secure Server CA" (not verified)) by mx1.riseup.net (Postfix) with ESMTPS id 4FK5TB5zXHzDqMG; Mon, 12 Apr 2021 17:05:02 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=riseup.net; s=squak; t=1618272321; bh=F3VJeLhWyPojCinLk5JlKKifG2igvhk3GxNHDq9zR5g=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=FSpH6PSom/ryyilE0YdUbfzldiF2NGF/jiTOMdSduskPZszLJqBBBW6HayXZpsdVO JseRAO8I/6ykfJwGEr6L650W94epySprVBW7InOiGVbWlYreLhMZeVwbwJQHnjLiDM +y7JMVdeUtU3hfAIqhwggparDDozFQYDgmfnTATw= X-Riseup-User-ID: 1C1EAA37778E50C3EB520766474653849938746C569B07A33A365C945C991F9E Received: from [127.0.0.1] (localhost [127.0.0.1]) by fews1.riseup.net (Postfix) with ESMTPSA id 4FK5T92Ppyz5vNX; Mon, 12 Apr 2021 17:05:01 -0700 (PDT) Date: Tue, 13 Apr 2021 00:59:34 +0200 From: raingloom Message-ID: <20210413005934.2613cb57@riseup.net> In-Reply-To: <87fszvfirn.fsf@nckx> References: <87fszvfirn.fsf@nckx> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=198.252.153.129; envelope-from=raingloom@riseup.net; helo=mx1.riseup.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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: bo0od@riseup.net 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=1618272381; 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: content-transfer-encoding:content-transfer-encoding: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=TxAMGNEbP/IoREvLJ5JjRI9Cjprt6TW1bq3L3aY9+Bc=; b=bATPMWdu9PczK61oolQSvxZnq9uoXXnY92JdvcxqtnBKRCctMBLxv8wGgpck8vUtCIKJqv k9USwd8eiLue60uvVZqBFrwhyQy2NW9KRWFQrcHY7lpxAb8yfGOIaavxp3Bzt3OlN16gJF Mx/3j6E3N0OzAuDJytymYjri1vWcRMvEuPEWSH3ycRIjnkL7VplyZj2sy5yJLE/IJF2NPs Gp0jBuCpkfEoO5WRKPdVE8sQf4c6nN0fKtHl7oBkKtXMh6QlFgYnsXd0u/7P/ZmA8Y3bUL 7AI3VvEipsJCJ/LsqKjAlTPnmvgJY+QzfsGSzwRQipnYMKhvgwIU/hWvujbV/Q== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618272381; a=rsa-sha256; cv=none; b=isKOcfgOsT+yxcT9LOCnFc2wOILc1H38X3rZzO0TkjriOTgDgh37w7stG9T0J197WcDYph 47r9qpjG7ZWKX02V9sv5Ytg+z7TPXn3C0u3dFH2EdHQEC57jz48XnklXaLTBv9kf0UBjwp fnoulsJqCp4E9JZ/B9uv8cP/g/9z+JZJLwX6PJrWeNnpw+OZ7lPx81PSHgQ+Wf/EG63aaJ 7FpkG7ZlRlU3OLLoS2YzbnybcM/JnVoqvjLONneY2PREaa46yESzO+OqVqfSkKRr0vRxjJ HswPDMkXeYvgCFo4VHvsYrj2TfCkMwt6LfZxgl6Ba/Binds1vML2V1qTmsLwbA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=FSpH6PSo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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.34 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=riseup.net header.s=squak header.b=FSpH6PSo; dmarc=fail reason="SPF not aligned (relaxed)" header.from=riseup.net (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: 383AA26BDB X-Spam-Score: -1.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: 9HpU/NFspEvO On Mon, 12 Apr 2021 20:41:00 +0200 Tobias Geerinckx-Rice via Bug reports for GNU Guix wrote: > Hi bo0od, >=20 > Your subject was quite dramatic and probably not true. Try to=20 > avoid both. >=20 > bo0od writes: > > The real issue it caused guix to freeze for like not less than=20 > > 2+ > > hours and i couldnt do anything with the distro until guix cut=20 > > out > > the build/upgradation by itself. =20 >=20 > Take a look at (and next time, attach) >=20 > $ bzless=20 > /var/log/guix/drvs/5a/8xxi15g20iqr78daw3w1c7xyqmmd1k-vigra-1.11.1.drv.b= z2 >=20 > the log file mentioned in the error message. You'll probably find=20 > the string =E2=80=98Killed=E2=80=99 near the end. If you haven't reboote= d yet, >=20 > $ grep oom /proc/vmstat >=20 > will probably return something non-zero. >=20 > If so: you ran out of memory while building a heavy package. This=20 > causes your system to become unresponsive whilst it tries to=20 > postpone that for as long as possible. This is a fact of Linux. >=20 > You can try to work around it by adding RAM, passing =E2=80=98-{M,c}1=E2= =80=99 to=20 > the guix command that failed, and/or enabling swap, but the root=20 > cause is you simply don't have enough memory to build this package=20 > at its default settings. >=20 > Or, you can make sure you download a substitute instead of trying=20 > to build everything locally. At the time of writing (commit=20 > d14f213) there's a libreoffice substitute on ci.guix.gnu.org. Are=20 > substitutes configured and enabled? >=20 > Kind regards, >=20 > T G-R Also this is an issue in general with the Linux OOM killer. I recommend installing earlyoom. It's already packaged in Guix and there is even a service description for it. It will help with the freezing issue.