]> git.openstreetmap.org Git - chef.git/commitdiff
Reduce cache memory on fuchur
authorTom Hughes <tom@compton.nu>
Mon, 21 Sep 2020 21:47:45 +0000 (22:47 +0100)
committerTom Hughes <tom@compton.nu>
Mon, 21 Sep 2020 21:47:45 +0000 (22:47 +0100)
roles/fuchur.rb

index 69f9aafe69c8658ff5f87a0ea186af6ee6cd966b..559700211e78a2685d4da58be260119faa589af4 100644 (file)
@@ -3,7 +3,7 @@ description "Master role applied to fuchur"
 
 default_attributes(
   :hardware => {
-    :shm_size => "20g"
+    :shm_size => "12g"
   },
   :networking => {
     :interfaces => {
@@ -30,7 +30,7 @@ default_attributes(
   },
   :squid => {
     :version => 4,
-    :cache_mem => "16384 MB",
+    :cache_mem => "8192 MB",
     :cache_dir => [
       "rock /store/squid/rock-4096 20000 swap-timeout=200 slot-size=4096 max-size=3996",
       "rock /store/squid/rock-8192 25000 swap-timeout=200 slot-size=8192 min-size=3997 max-size=8092",