guix-commits
[Top][All Lists]
Advanced

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

01/01: nginx: bayfront: Allocate less space for the nar/narinfo caches.


From: Ludovic Courtès
Subject: 01/01: nginx: bayfront: Allocate less space for the nar/narinfo caches.
Date: Sat, 14 Oct 2017 08:44:44 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 59b2807ab0fc4f5116607fae5f064194023b8b56
Author: Ludovic Courtès <address@hidden>
Date:   Sat Oct 14 14:41:32 2017 +0200

    nginx: bayfront: Allocate less space for the nar/narinfo caches.
    
    * hydra/nginx/bayfront.conf: Allocate less space for the nar/narinfo
    caches, and more space for the CAS cache.
---
 hydra/nginx/bayfront.conf | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/hydra/nginx/bayfront.conf b/hydra/nginx/bayfront.conf
index 6fff6ca..a1e1c6b 100644
--- a/hydra/nginx/bayfront.conf
+++ b/hydra/nginx/bayfront.conf
@@ -51,21 +51,21 @@ http {
                     levels=2
                     inactive=7d           # inactive keys removed after 7d
                     keys_zone=narinfo:4m  # narinfo meta data: ~32K keys
-                    max_size=5g;          # total cache data size max
+                    max_size=1g;          # total cache data size max
 
     # cache for nar files
     proxy_cache_path /var/cache/nginx/nar
                     levels=2
                     inactive=8d           # inactive keys removed after 8d
                     keys_zone=nar:4m      # nar cache meta data: ~32K keys
-                    max_size=50g;         # total cache data size max
+                    max_size=10g;         # total cache data size max
 
     # cache for content-addressed files
     proxy_cache_path /var/cache/nginx/cas
                     levels=2
                     inactive=180d         # inactive keys removed after 180d
                     keys_zone=cas:8m      # nar cache meta data: ~64K keys
-                    max_size=30g;         # total cache data size max
+                    max_size=50g;         # total cache data size max
 
     # cache for build logs
     proxy_cache_path /var/cache/nginx/logs



reply via email to

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