ArielGlenn has submitted this change and it was merged.

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(-)

Approvals:
  ArielGlenn: Looks good to me, approved
  jenkins-bot: Verified



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: merged
Gerrit-Change-Id: I6341f17e691224e8714e84f53f8225502308df19
Gerrit-PatchSet: 1
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: ArielGlenn <ar...@wikimedia.org>
Gerrit-Reviewer: ArielGlenn <ar...@wikimedia.org>
Gerrit-Reviewer: jenkins-bot

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to