]> git.openstreetmap.org Git - chef.git/blobdiff - cookbooks/apache/attributes/default.rb
Add tile sysctl tuning to lockheed
[chef.git] / cookbooks / apache / attributes / default.rb
index cff5e5b839c1b5fb0af59eed4b16e1d32b2feb73..075e4c86f2d443e3f18aa86ecac03cec38f39437 100644 (file)
@@ -1,4 +1,4 @@
-default[:apache][:mpm] = "worker"
+default[:apache][:mpm] = "event"
 
 default[:apache][:timeout] = 300
 
@@ -30,4 +30,11 @@ default[:apache][:listen_address] = "*"
 
 default[:apache][:buffered_logs] = true
 
-default[:apache][:reqtimeout] = false
+default[:apache][:evasive][:enable] = true
+default[:apache][:evasive][:hash_table_size] = 65536
+# page_count is misnomer as it can match backends in some cases
+default[:apache][:evasive][:page_count] = 150
+default[:apache][:evasive][:site_count] = 250
+default[:apache][:evasive][:page_interval] = 1
+default[:apache][:evasive][:site_interval] = 1
+default[:apache][:evasive][:blocking_period] = 60