GNU bug report logs - #50327
[PATCH 0/2] Improved ‘free disk space’ message + a question

Previous Next

Package: guix-patches;

Reported by: Tobias Geerinckx-Rice <me <at> tobias.gr>

Date: Wed, 1 Sep 2021 19:24:02 UTC

Severity: normal

Tags: patch

Full log


View this message in rfc822 format

From: Tobias Geerinckx-Rice <me <at> tobias.gr>
To: 50327 <at> debbugs.gnu.org
Subject: [bug#50327] [PATCH 2/2] daemon: Suspect low disk space sooner.
Date: Wed,  1 Sep 2021 21:25:45 +0200
* 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) {
-- 
2.32.0





This bug report was last modified 3 years and 269 days ago.

Previous Next


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