]> git.openstreetmap.org Git - chef.git/commitdiff
Increase memory cache on gorwen
authorTom Hughes <tom@compton.nu>
Wed, 18 Mar 2020 12:30:56 +0000 (12:30 +0000)
committerTom Hughes <tom@compton.nu>
Wed, 18 Mar 2020 12:30:56 +0000 (12:30 +0000)
roles/gorwen.rb

index 20dc8929c34335d3a1e1c8866d3a3a5a9f5eff2d..d02c39d2e68abac3b3377e4706772fa43476bd38 100644 (file)
@@ -3,7 +3,7 @@ description "Master role applied to gorwen"
 
 default_attributes(
   :hardware => {
 
 default_attributes(
   :hardware => {
-    :shm_size => "10g"
+    :shm_size => "20g"
   },
   :networking => {
     :interfaces => {
   },
   :networking => {
     :interfaces => {
@@ -27,7 +27,7 @@ default_attributes(
   },
   :squid => {
     :version => 4,
   },
   :squid => {
     :version => 4,
-    :cache_mem => "6144 MB",
+    :cache_mem => "16384 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",
     :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",