projects
/
chef.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
73bc6e3
)
Tune apache on web frontends
author
Tom Hughes
<tom@compton.nu>
Tue, 22 Nov 2016 19:50:05 +0000
(19:50 +0000)
committer
Tom Hughes
<tom@compton.nu>
Tue, 22 Nov 2016 19:50:05 +0000
(19:50 +0000)
roles/web-frontend.rb
patch
|
blob
|
history
diff --git
a/roles/web-frontend.rb
b/roles/web-frontend.rb
index d6c144a68f2f08d283b8a85f5d5e80607ce94318..5ad10684756cd122f9bc4cf20185226ea56b960c 100644
(file)
--- a/
roles/web-frontend.rb
+++ b/
roles/web-frontend.rb
@@
-5,12
+5,13
@@
default_attributes(
:apache => {
:mpm => "event",
:event => {
- :server_limit =>
4
0,
+ :server_limit =>
2
0,
:max_request_workers => 1000,
- :min_spare_threads => 50,
- :max_spare_threads => 150,
:threads_per_child => 50,
- :max_connections_per_child => 10000
+ :min_spare_threads => 50,
+ :max_spare_threads => 450,
+ :max_connections_per_child => 10000,
+ :async_request_worker_factor => 4
}
},
:logstash => {