ArielGlenn has uploaded a new change for review.
https://gerrit.wikimedia.org/r/84335
Change subject: MaxClients from 40 to 50 in appserver module too, for 8 core
boxes
......................................................................
MaxClients from 40 to 50 in appserver module too, for 8 core boxes
Change-Id: I6341f17e691224e8714e84f53f8225502308df19
---
M manifests/role/applicationserver.pp
1 file changed, 7 insertions(+), 1 deletion(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/puppet
refs/changes/35/84335/1
diff --git a/manifests/role/applicationserver.pp
b/manifests/role/applicationserver.pp
index 03f7400..1404f04 100644
--- a/manifests/role/applicationserver.pp
+++ b/manifests/role/applicationserver.pp
@@ -122,7 +122,13 @@
class { "role::applicationserver::common": group =>
"appserver", lvs_pool => "apaches" }
- include role::applicationserver::webserver
+ if $::processorcount == "8" or $::processorcount == "16" {
+ $maxclients = "50"
+ }
+ else {
+ $maxclients = "40"
+ }
+ class { "role::applicationserver::webserver": maxclients =>
$maxclients }
}
# role class specifically for test.w.o apache(s)
class appserver::test{
--
To view, visit https://gerrit.wikimedia.org/r/84335
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I6341f17e691224e8714e84f53f8225502308df19
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits