guix-commits
[Top][All Lists]
Advanced

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

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


From: Ludovic Courtès
Subject: 01/01: nginx: berlin: Allocate less space for the nar/narinfo caches.
Date: Sun, 29 Oct 2017 10:53:57 -0400 (EDT)

civodul pushed a commit to branch master
in repository maintenance.

commit 008384d90de171397b06d81cf767337746849816
Author: Ludovic Courtès <address@hidden>
Date:   Sun Oct 29 15:53:02 2017 +0100

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

diff --git a/hydra/nginx/berlin.conf b/hydra/nginx/berlin.conf
index f3272e5..8968933 100644
--- a/hydra/nginx/berlin.conf
+++ b/hydra/nginx/berlin.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]