]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/attributes/default.rb
Revert "imagery: workaround OS imagery custom formats"
[chef.git] / cookbooks / apache / attributes / default.rb
1 default[:apache][:mpm] = "event"
2
3 default[:apache][:timeout] = 300
4
5 default[:apache][:keepalive] = true
6
7 default[:apache][:prefork][:start_servers] = 5
8 default[:apache][:prefork][:min_spare_servers] = 5
9 default[:apache][:prefork][:max_spare_servers] = 10
10 default[:apache][:prefork][:max_request_workers] = 150
11 default[:apache][:prefork][:max_connections_per_child] = 0
12
13 default[:apache][:worker][:start_servers] = 2
14 default[:apache][:worker][:min_spare_threads] = 25
15 default[:apache][:worker][:max_spare_threads] = 75
16 default[:apache][:worker][:thread_limit] = 64
17 default[:apache][:worker][:threads_per_child] = 25
18 default[:apache][:worker][:max_request_workers] = 150
19 default[:apache][:worker][:max_connections_per_child] = 0
20
21 default[:apache][:event][:start_servers] = 2
22 default[:apache][:event][:min_spare_threads] = 25
23 default[:apache][:event][:max_spare_threads] = 75
24 default[:apache][:event][:thread_limit] = 64
25 default[:apache][:event][:threads_per_child] = 25
26 default[:apache][:event][:max_request_workers] = 150
27 default[:apache][:event][:max_connections_per_child] = 0
28
29 default[:apache][:listen_address] = "*"
30
31 default[:apache][:buffered_logs] = true
32
33 default[:apache][:evasive][:enable] = true
34 default[:apache][:evasive][:hash_table_size] = 65536
35 # page_count is misnomer as it can match backends in some cases
36 default[:apache][:evasive][:page_count] = 150
37 default[:apache][:evasive][:site_count] = 250
38 default[:apache][:evasive][:page_interval] = 1
39 default[:apache][:evasive][:site_interval] = 1
40 default[:apache][:evasive][:blocking_period] = 60