From patchwork Wed Sep 1 19:25:45 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Tobias Geerinckx-Rice X-Patchwork-Id: 32494 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 5032D27BBE3; Wed, 1 Sep 2021 20:26:15 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,T_DKIM_INVALID, URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 19B7427BBE1 for ; Wed, 1 Sep 2021 20:26:15 +0100 (BST) Received: from localhost ([::1]:41934 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mLVsE-0005FR-7z for patchwork@mira.cbaines.net; Wed, 01 Sep 2021 15:26:14 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:43306) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mLVs2-0005D3-IJ for guix-patches@gnu.org; Wed, 01 Sep 2021 15:26:02 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:55740) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mLVs2-0008VI-B3 for guix-patches@gnu.org; Wed, 01 Sep 2021 15:26:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mLVs2-0000IA-7N for guix-patches@gnu.org; Wed, 01 Sep 2021 15:26:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#50327] [PATCH 2/2] daemon: Suspect low disk space sooner. Resent-From: Tobias Geerinckx-Rice Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Wed, 01 Sep 2021 19:26:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50327 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 50327@debbugs.gnu.org Received: via spool by 50327-submit@debbugs.gnu.org id=B50327.16305243551102 (code B ref 50327); Wed, 01 Sep 2021 19:26:02 +0000 Received: (at 50327) by debbugs.gnu.org; 1 Sep 2021 19:25:55 +0000 Received: from localhost ([127.0.0.1]:39052 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLVrv-0000Hg-0x for submit@debbugs.gnu.org; Wed, 01 Sep 2021 15:25:55 -0400 Received: from tobias.gr ([80.241.217.52]:52760) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mLVrt-0000HG-I3 for 50327@debbugs.gnu.org; Wed, 01 Sep 2021 15:25:53 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; s=2018; bh=iQTHOBEZ3BwAh pmvZTJwfk1DTJ8tjt8f9ll42Q5mXeo=; h=references:in-reply-to:date: subject:to:from; d=tobias.gr; b=YdN4SxdT81itR5AwUeV5LCzZ6sBHgc/zx4QCAo WI8o+j+j5uls0jRPLN5Uo+o6LwLdvVtjHRCASSe5K8yACw6/pI937iIrWd2o9nr/2rYlsv dhddKO0czkJUjPc6HBuUvB1QaPg//W4Hlyl1I5OrDIkJqMt7wvrVxwloBV6+YgsbsFNKbe k0jKXTUvJiiqyha1N5NCCzG8Y6sqUZmXp/odDU5z8BomH9WkEmbj1YHrQl7IRfy1lvcWep 5KsQAHoTB20CGahm+sCHx9ZWs6/Q1oC/fMILwfKdgKjfWpo71hy7DMhZEgi5/tcSdHXiTV CFw5Xd1XiGHaQC2BDa2BMfNA== Received: by submission.tobias.gr (OpenSMTPD) with ESMTPSA id c58772aa (TLSv1.3:AEAD-AES256-GCM-SHA384:256:NO) for <50327@debbugs.gnu.org>; Wed, 1 Sep 2021 19:25:47 +0000 (UTC) Date: Wed, 1 Sep 2021 21:25:45 +0200 Message-Id: <20210901192545.12347-2-me@tobias.gr> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210901192545.12347-1-me@tobias.gr> References: <20210901192545.12347-1-me@tobias.gr> MIME-Version: 1.0 X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" Reply-to: Tobias Geerinckx-Rice X-ACL-Warn: , Tobias Geerinckx-Rice via Guix-patches X-Patchwork-Original-From: Tobias Geerinckx-Rice via Guix-patches via From: Tobias Geerinckx-Rice X-getmail-retrieved-from-mailbox: Patches * nix/libstore/build.cc (pathFull): Bump the required free space up to a more 2021 amount of 64 MiB. --- nix/libstore/build.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nix/libstore/build.cc b/nix/libstore/build.cc index 963cddb98b..f62704a107 100644 --- a/nix/libstore/build.cc +++ b/nix/libstore/build.cc @@ -1300,7 +1300,7 @@ void replaceValidPath(const Path & storePath, const Path tmpPath) static bool pathFull(Path path) { #if HAVE_STATVFS - unsigned long long required = 8ULL * 1024 * 1024; // FIXME: make configurable + unsigned long long required = 64ULL * 1024 * 1024; // FIXME: make configurable struct statvfs st; if (statvfs(path.c_str(), &st) == 0) {