]> git.openstreetmap.org Git - chef.git/commitdiff
Reduce cache memory limit on chrysophylax and sarkany
authorTom Hughes <tom@compton.nu>
Thu, 7 Nov 2019 18:03:30 +0000 (18:03 +0000)
committerTom Hughes <tom@compton.nu>
Thu, 7 Nov 2019 18:04:05 +0000 (18:04 +0000)
roles/chrysophylax.rb
roles/sarkany.rb

index f3574f77927f6207d3aa5d21a924d121debe999e..db509a876b2d0ded1ed37c4a2e60bd4a6624c530 100644 (file)
@@ -3,7 +3,7 @@ description "Master role applied to chrysophylax"
 
 default_attributes(
   :hardware => {
-    :shm_size => "14g"
+    :shm_size => "12g"
   },
   :networking => {
     :interfaces => {
@@ -27,7 +27,7 @@ default_attributes(
   },
   :squid => {
     :version => 4,
-    :cache_mem => "12288 MB",
+    :cache_mem => "10240 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",
index fcb20940f92d71cfebbfdc335a47828bfca056b8..58f9d4952c01b7910f11c4dd60a3a860d85d847c 100644 (file)
@@ -3,7 +3,7 @@ description "Master role applied to sarkany"
 
 default_attributes(
   :hardware => {
-    :shm_size => "10g"
+    :shm_size => "9g"
   },
   :networking => {
     :interfaces => {
@@ -27,7 +27,7 @@ default_attributes(
   },
   :squid => {
     :version => 4,
-    :cache_mem => "8192 MB",
+    :cache_mem => "7168 MB",
     :cache_dir => [
       "rock /store/squid/rock-4096 12800 swap-timeout=200 slot-size=4096 max-size=3996",
       "rock /store/squid/rock-8192 16000 swap-timeout=200 slot-size=8192 min-size=3997 max-size=8092",