]> git.openstreetmap.org Git - chef.git/blobdiff - roles/planet.rb
imagery: restart titiler service to workaround resource leak
[chef.git] / roles / planet.rb
index 50ebd4064a5e5375293f5a9ffef80fd286e80558..4dd1f1d7476ec2cd3533c37280f0738f1427e129 100644 (file)
@@ -6,7 +6,7 @@ default_attributes(
     :mpm => "event",
     :keepalive => true,
     :event => {
-      :server_limit => 20,
+      :server_limit => 30,
       :max_request_workers => 1000,
       :threads_per_child => 50,
       :min_spare_threads => 75,
@@ -49,6 +49,17 @@ default_attributes(
         :ignore_nonreadable => true,
         :timeout => 3600,
         :refuse_options => ["checksum"]
+      },
+      :statistics => {
+        :comment => "Statistics",
+        :path => "/store/planet/statistics",
+        :read_only => false,
+        :write_only => true,
+        :list => false,
+        :uid => "planet",
+        :gid => "planet",
+        :transfer_logging => false,
+        :nodes_allow => "roles:web-statistics"
       }
     }
   }
@@ -58,6 +69,5 @@ run_list(
   "role[web-db]",
   "recipe[planet]",
   "recipe[planet::replication]",
-  "recipe[nfs::server]",
   "recipe[rsyncd]"
 )