Gehel has submitted this change and it was merged.

Change subject: Activate SSL + connection pooling for CirrusSearch on PROD
......................................................................


Activate SSL + connection pooling for CirrusSearch on PROD

Add sizing of the curl pools. While the default size of 5 should be good
for average traffic, we do have spikes higher than this. In case of pool
exhaustion a FATAL error will be raised, so we want to ensure that this
happens as rarely as possible. Resource limitation is done by pool counter
anyway.

This is a pre-requisite to activate connection pooling on production.

Bug: T131839
Change-Id: Icffdfd8b3f0549409d4c4e6f76c398216cd168de
---
M modules/mediawiki/manifests/hhvm.pp
1 file changed, 8 insertions(+), 1 deletion(-)

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



diff --git a/modules/mediawiki/manifests/hhvm.pp 
b/modules/mediawiki/manifests/hhvm.pp
index 7028496..ae512a6 100644
--- a/modules/mediawiki/manifests/hhvm.pp
+++ b/modules/mediawiki/manifests/hhvm.pp
@@ -42,7 +42,14 @@
                 pcre_cache_type => 'lru',
             },
             curl => {
-                namedPools => 'cirrus-eqiad,cirrus-codfw',
+                namedPools   => 'cirrus-eqiad,cirrus-codfw',
+                # ugly hack to work around colision in the hash
+                'namedPools.cirrus-codfw' => {
+                    size => '20',
+                },
+                'namedPools.cirrus-eqiad' => {
+                    size => '20',
+                },
             },
         },
         cli_settings => {

-- 
To view, visit https://gerrit.wikimedia.org/r/281881
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: Icffdfd8b3f0549409d4c4e6f76c398216cd168de
Gerrit-PatchSet: 7
Gerrit-Project: operations/puppet
Gerrit-Branch: production
Gerrit-Owner: Gehel <gleder...@wikimedia.org>
Gerrit-Reviewer: DCausse <dcau...@wikimedia.org>
Gerrit-Reviewer: EBernhardson <ebernhard...@wikimedia.org>
Gerrit-Reviewer: Gehel <gleder...@wikimedia.org>
Gerrit-Reviewer: Giuseppe Lavagetto <glavage...@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