]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/attributes/default.rb
25322ca1bb5f5cb370f000454b3d87df677e1bee
[chef.git] / cookbooks / apache / attributes / default.rb
1 default[:apache][:mpm] = "worker"
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_requests_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_requests_per_child] = 0
20
21 default[:apache][:event][:start_servers] = 2
22 default[:apache][:event][:max_request_workers] = 150
23 default[:apache][:event][:min_spare_threads] = 25
24 default[:apache][:event][:max_spare_threads] = 75
25 default[:apache][:event][:thread_limit] = 64
26 default[:apache][:event][:threads_per_child] = 25
27 default[:apache][:event][:max_requests_per_child] = 0
28
29 default[:apache][:listen_address] = "*"
30
31 default[:apache][:ssl][:certificate] = "openstreetmap"
32 default[:apache][:ssl][:certificate_chain] = "rapidssl"
33
34 default[:apache][:buffered_logs] = true