From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:bcc0::]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id LvOIGA+ndmA/OwEAgWs5BA (envelope-from ) for ; Wed, 14 Apr 2021 10:25:51 +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 OC5vEQ+ndmC0OAAAbx9fmQ (envelope-from ) for ; Wed, 14 Apr 2021 08:25:51 +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 785EE22C1A for ; Wed, 14 Apr 2021 10:25:50 +0200 (CEST) Received: from localhost ([::1]:55530 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lWaqK-00027V-HM for larch@yhetil.org; Wed, 14 Apr 2021 04:25:48 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:52570) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lWaoc-0000my-DM for bug-guix@gnu.org; Wed, 14 Apr 2021 04:24:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:50002) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lWaoc-0007bB-1O for bug-guix@gnu.org; Wed, 14 Apr 2021 04:24:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lWaob-0005k4-Rv for bug-guix@gnu.org; Wed, 14 Apr 2021 04:24:01 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#47717: guix becomes unresponsive while building the 'vigra' package Resent-From: Mark H Weaver Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Wed, 14 Apr 2021 08:24:01 +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 , Leo Famulari Received: via spool by 47717-submit@debbugs.gnu.org id=B47717.161838862022039 (code B ref 47717); Wed, 14 Apr 2021 08:24:01 +0000 Received: (at 47717) by debbugs.gnu.org; 14 Apr 2021 08:23:40 +0000 Received: from localhost ([127.0.0.1]:33315 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWaoF-0005jP-Uf for submit@debbugs.gnu.org; Wed, 14 Apr 2021 04:23:40 -0400 Received: from world.peace.net ([64.112.178.59]:37110) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lWaoA-0005j1-9L for 47717@debbugs.gnu.org; Wed, 14 Apr 2021 04:23:38 -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 1lWao3-0005Vq-FL; Wed, 14 Apr 2021 04:23:27 -0400 From: Mark H Weaver In-Reply-To: <73e4e511-b66a-e62b-7ce8-bb6029ef0d2c@riseup.net> References: <73e4e511-b66a-e62b-7ce8-bb6029ef0d2c@riseup.net> Date: Wed, 14 Apr 2021 04:21:44 -0400 Message-ID: <87im4pqnrg.fsf@netris.org> MIME-Version: 1.0 Content-Type: text/plain 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=1618388750; 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; bh=4ZrlJb+Qv+fItjU/AvvR3Q8i8tBJ6cE8vlKS9P5UlYc=; b=d/1gAqs87qI/rzmyEA70Zx5NsifYdAx/tPP879XYO1hwZT+xizQ3MNfEjoYiGuetIfmbia Hg+RLEsOq7n+oO8w9oB3g/xP3puqETkiyL1A6eD5HMCPc1CVXKP8vL9YF3gcekWWhpJ/h+ 70gpVid4XvoiTyOw2erGqSKQWMM0Ahjs/UrEQdVq9vF9Wd5cBbwv9dWNkhRESAk0gMePAS VjGz+dCd1Zd7gD4KYmO2EJVFLjjr+sIoqhYMnsI9wpT/f0rKPZTG2cDWpZp5Uz7QFOmaA1 E+T0uv69rnRHpYZRAxbAKl4w375+M8QNw1v3c3p08eqEuohUwohCEa0wuV5/6w== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1618388750; a=rsa-sha256; cv=none; b=bp2b1ROkJ8NDOjyw+7EcY23UegObx5X7J+kk+3Fa4w6jM/nswIcJSqLXAdZ2PVV0q5+sjf 0ln5EQTJQrHya15R8/6507akpqdSa1nRiv/ylyCd2cHzpryzctWc19FCFT+jihVFq1YXHd SSQpEUg4T/VRaJWtSwm1oHhRMT2CkjIO9ZcOYlCu4y5KyryYb+Bvlszrxe3ft3IfIsrxt+ uHev8P3HpF4OxoQhrqAGKzoeqkrfuHQLnI4bir4uve4DPPIIfwbbEs9Vh1K3Mm4c1mhefI qENuhReTYsrJgs2ZUDVTWE4BDPSiqijUuFJSdZ6UO0pAJ2OuE3wjO6G6cC68lA== 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: -1.63 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: 785EE22C1A X-Spam-Score: -1.63 X-Migadu-Scanner: scn0.migadu.com X-TUID: apD+VQUGmhZJ bo0od writes: > > What kind of computer are you using? Are you using swap? > > 4GB DDR3 rams, i7 4th generation , 20GB for Guix about 9GB swap For the record: I don't use binary substitutes at all, and I build my GNOME system plus IceCat locally, using Guix, on a modest Thinkpad X200 with 4GB of RAM and 8GB of swap, all while running a GNOME session with Emacs. I can build _most_ (but not all) packages while running IceCat. However, some builds, e.g. IceCat and WebKitGTK, require too much memory to build while simultaneously running a modern web browser. I haven't tried to build Libreoffice recently, but I did so regularly a few years ago. * * * I suspect that your problem is that you have too many CPUs relative to your relatively modest 4GB of RAM. The more CPUs you have, the more compilers will be run concurrently (by default), and the more RAM you will need. In my case, I have only 2 CPUs on my system, so I have only two instances of GCC (or whatever compiler) running at any given time. It might help to pass --cores=2 (or perhaps even --cores=1) to guix-daemon, which should hopefully be honored by the build systems of most of our packages, but probably not all (bug reports welcome). On a Guix system, you can arrange for this in your OS config with something like the following (untested): __ (modify-services %desktop-services ____ (guix-service-type config => _______________________ (guix-configuration _________________________ (inherit config) _________________________ (extra-options '("--cores=2"))))) Mark