guix-commits
[Top][All Lists]
Advanced

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

02/03: hydra: bayfront: Free up some space.


From: Christopher Baines
Subject: 02/03: hydra: bayfront: Free up some space.
Date: Thu, 18 May 2023 11:23:56 -0400 (EDT)

cbaines pushed a commit to branch master
in repository maintenance.

commit ce8d3000fda6b80c0cf3e6f8204e0ee293024e6b
Author: Christopher Baines <mail@cbaines.net>
AuthorDate: Thu May 18 16:20:26 2023 +0100

    hydra: bayfront: Free up some space.
    
    By dropping the size of some caches.  This is hopefully a temporary
    measure while the nar storage is sorted out.
    
    * hydra/bayfront.scm (%bayfront-nginx-service-extra-config): Drop the
    cache size.
    <services>[nar-herder]: Drop the zstd directory-max-size.
---
 hydra/bayfront.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/hydra/bayfront.scm b/hydra/bayfront.scm
index a6e4e34..eb5c585 100644
--- a/hydra/bayfront.scm
+++ b/hydra/bayfront.scm
@@ -261,7 +261,7 @@ proxy_cache_path /var/cache/nginx/bordeaux/nar
                  levels=2
                  inactive=28d          # inactive keys removed after 28d
                  keys_zone=bordeaux-nar:64m
-                 max_size=256g;       # total cache data size max
+                 max_size=128g;       # total cache data size max
 "))
 
 (define %common-tls-options
@@ -1227,7 +1227,7 @@ add_header Content-Type text/plain;")))
                 (nar-herder-cached-compression-configuration
                  (type 'zstd)
                  (level 19)
-                 (directory-max-size (* 400 GiB)))))
+                 (directory-max-size (* 50 GiB)))))
               (cached-compression-workers 8)
               (cached-compression-nar-source "https://bishan.guix.gnu.org";)
               (extra-environment-variables



reply via email to

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