guix-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug#50327] [PATCH 2/2] daemon: Suspect low disk space sooner.


From: Tobias Geerinckx-Rice
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






reply via email to

[Prev in Thread] Current Thread [Next in Thread]