[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/03: nginx: hydra.gnu.org: Increase nar/narinfo caches tenfold.
From: |
Mark H. Weaver |
Subject: |
02/03: nginx: hydra.gnu.org: Increase nar/narinfo caches tenfold. |
Date: |
Thu, 1 Sep 2016 09:11:47 +0000 (UTC) |
mhw pushed a commit to branch master
in repository maintenance.
commit ce81c9de1d3c3598775760a57277a78419b12472
Author: Mark H Weaver <address@hidden>
Date: Thu Sep 1 05:06:54 2016 -0400
nginx: hydra.gnu.org: Increase nar/narinfo caches tenfold.
---
hydra/nginx/hydra.gnu.org.conf | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/hydra/nginx/hydra.gnu.org.conf b/hydra/nginx/hydra.gnu.org.conf
index 3cd31d6..0db4289 100644
--- a/hydra/nginx/hydra.gnu.org.conf
+++ b/hydra/nginx/hydra.gnu.org.conf
@@ -48,14 +48,14 @@ http {
levels=2
inactive=7d # inactive keys removed after 7d
keys_zone=narinfo:4m # narinfo meta data: ~32K keys
- max_size=2g; # total cache data size max
+ max_size=20g; # 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=20g; # total cache data size max
+ max_size=200g; # total cache data size max
# cache for static data
proxy_cache_path /var/cache/nginx/static