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 2HnmOhObeGCDVgEAgWs5BA (envelope-from ) for ; Thu, 15 Apr 2021 21:59:15 +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 8OujNBObeGC5OgAAbx9fmQ (envelope-from ) for ; Thu, 15 Apr 2021 19:59: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 5E739A05C for ; Thu, 15 Apr 2021 21:59:15 +0200 (CEST) Received: from localhost ([::1]:44680 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX88v-0005qz-CS for larch@yhetil.org; Thu, 15 Apr 2021 15:59:13 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:46228) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX88k-0005qq-N2 for bug-guix@gnu.org; Thu, 15 Apr 2021 15:59:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55996) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lX88k-0003M6-EV for bug-guix@gnu.org; Thu, 15 Apr 2021 15:59:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lX88k-0004jD-DP for bug-guix@gnu.org; Thu, 15 Apr 2021 15:59:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47717: guix outrageously exhaust itself (freeze) when there is package build failure Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Thu, 15 Apr 2021 19:59: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: bo0od , Tobias Geerinckx-Rice Received: via spool by 47717-submit@debbugs.gnu.org id=B47717.161851670718131 (code B ref 47717); Thu, 15 Apr 2021 19:59:02 +0000 Received: (at 47717) by debbugs.gnu.org; 15 Apr 2021 19:58:27 +0000 Received: from localhost ([127.0.0.1]:39309 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX88A-0004iN-Sd for submit@debbugs.gnu.org; Thu, 15 Apr 2021 15:58:27 -0400 Received: from world.peace.net ([64.112.178.59]:40884) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lX889-0004iA-3R for 47717@debbugs.gnu.org; Thu, 15 Apr 2021 15:58:25 -0400 Received: from mhw by world.peace.net with esmtpsa (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lX881-0006D7-Um; Thu, 15 Apr 2021 15:58:18 -0400 From: Mark H Weaver In-Reply-To: <4e1f8d67-2329-6ba1-4e21-9ec978de3cb3@riseup.net> References: <87fszvfirn.fsf@nckx> <0dbc191f-f567-01f0-b20e-67c00fd28937@riseup.net> <87czuxem1r.fsf@nckx> <4e1f8d67-2329-6ba1-4e21-9ec978de3cb3@riseup.net> Date: Thu, 15 Apr 2021 15:56:33 -0400 Message-ID: <878s5jiann.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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: 47717@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=1618516755; 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; bh=RnUt6DUL/Yh2UzhaRQTwXGIDbNemFJzzVzEd96GsKqI=; b=qo2vzqsg2ilMrczYyNuXzOC8+uxCQy04r2AF2Eex1dQtzAkwOHT86PzPqYyDbzma251WhY uBhqGxQ6YIiXp9nkv2epoFYVQ+tVzskjFc7NswVDdsApr7oqVKfrIRFVTcofAoq+9IXh32 Q/AZKc6E/KwD0L20OgCfF7u4NB3V4AXd6U5Q1YIfHZlNxlA1p/UH2ucnHGVUFIeU0hJWp2 llAEbOCok27MApjPSqOENyBJtifGzNNEA6jcEQHfAitKqSEIZ1wcjasnXQVZJcdFxHnGXD 46M6LIh9EXpIOWngd5r3bjqhaGrDxlGDnp9k6IaMqfCT+AZkHj1Xhgqfm3Tebw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618516755; a=rsa-sha256; cv=none; b=hjqYqwvaurNVagmgHekDUlKd7+fiG6krCWsaup7en6QY3ocTDebMp3Kl4AIGDNK9nCL2F3 +JwAalr+ybVHYNcJPVjbqZUZYV+9IH/nIQRNNB/9Xmp6BrhQdjurAfFNODolJ+2NHNgrFA 9tCaNcChlKtBza6w544oJf+Xi2K14SRiUyTenKQ5Hw688YfwPu/r/4F/zZJw/1spP6vMwO PW4QU0fcmwqZkq1UBHNLTNey0LbGnZXOiaw0O8LlVOUwCC08TVTx2JsKOsUvMl42JW75ho cBUEJ4ANv6fNBR0I5QRvHbiSWv+pIRXSvQs0AI/qMkLLon70gtTHbct/67p8JA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; dmarc=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: -2.44 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=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: 5E739A05C X-Spam-Score: -2.44 X-Migadu-Scanner: scn0.migadu.com X-TUID: oL/67nI2VapW bo0od writes: > > I mean the =E2=80=98outrageously=E2=80=99 part. When Linux runs out o= f memory, it > > freezes up. Moral judgment is futile. Better to adopt raingloom's > > earlyoom suggestion or similar. > > Im using default guix system nothing special, If this package usable to=20 > solve these stuff i suggest then to include it by default. 'earlyoom' behavior is not necessarily desirable. I, for one, have a fairly old computer by today's standards, and sometimes I ask it to do intensive things that are at the edge of its capabilities, such as compiling GNU IceCat. An aggressive 'earlyoom' might prematurely abort jobs that could have completed, and thereby make it impossible for me to continue using this old computer for development. With that in mind, it's far from clear that 'earlyoom' should be our default behavior. It's good to have it as an option, though. > > 4 GiB is absolutely not enough to build an outrageous amount of =E2=80= =98modern=E2=80=99 > > software, especially in parallel (so not using --cores=3D1 --max-jobs= =3D1) > > to make use of those expensive cores. > > > > I'm disgusted too. > > Yes it is, But you know this cant be a way of life with guix for end=20 > user no? Something by default should solve this matter otherwise this is= =20 > not usable distro. Many people are happily using it, and are quite enthusiastic about it, so evidently it's "usable". That doesn't imply that it's good for everyone. Perhaps you would prefer a more traditional distro, or one that has had more time to mature. If so, that's okay. Regards, Mark