]> git.openstreetmap.org Git - chef.git/blob - cookbooks/apache/attributes/default.rb
73184f049563b0ad388689f0341cff0bd3cfa44b
[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_clients] = 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_clients] = 150
19 default[:apache][:worker][:max_requests_per_child] = 0
20
21 default[:apache][:event][:start_servers] = 2
22 default[:apache][:event][:max_clients] = 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] = "*"