Demon has submitted this change and it was merged.
Change subject: Configure PoolCounter for search requests
......................................................................
Configure PoolCounter for search requests
Requires I1298bc70 to be live to function.
- Set workers to 78. Lucene has a thread pool of 80, so use most
of them without overloading it.
- Set the max queue to 400. This is roughly half the possible requests that
it would take to overload the apaches. 6 Lucene * 800 max queue = 4800
processes, which is the number of regular apache processes in eqiad.
- Set wait timeout to 15s
Change-Id: Id425616f4fbc1397584e4c153b5b3c4712f85f16
---
M wmf-config/PoolCounterSettings-eqiad.php
M wmf-config/PoolCounterSettings-pmtpa.php
2 files changed, 12 insertions(+), 0 deletions(-)
Approvals:
Aaron Schulz: Looks good to me, but someone else must approve
Demon: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/PoolCounterSettings-eqiad.php
b/wmf-config/PoolCounterSettings-eqiad.php
index 6219355..5074619 100644
--- a/wmf-config/PoolCounterSettings-eqiad.php
+++ b/wmf-config/PoolCounterSettings-eqiad.php
@@ -19,5 +19,11 @@
'workers' => 2,
'maxqueue' => 100
),
+ 'LuceneSearchRequest' => array(
+ 'class' => 'PoolCounter_Client',
+ 'timeout' => 15,
+ 'workers' => 78,
+ 'maxqueue' => 400
+ ),
);
diff --git a/wmf-config/PoolCounterSettings-pmtpa.php
b/wmf-config/PoolCounterSettings-pmtpa.php
index 48fcf8b..cad6c3f 100644
--- a/wmf-config/PoolCounterSettings-pmtpa.php
+++ b/wmf-config/PoolCounterSettings-pmtpa.php
@@ -19,5 +19,11 @@
'workers' => 2,
'maxqueue' => 100
),
+ 'LuceneSearchRequest' => array(
+ 'class' => 'PoolCounter_Client',
+ 'timeout' => 15,
+ 'workers' => 78,
+ 'maxqueue' => 400
+ ),
);
--
To view, visit https://gerrit.wikimedia.org/r/55777
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Id425616f4fbc1397584e4c153b5b3c4712f85f16
Gerrit-PatchSet: 2
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Demon <[email protected]>
Gerrit-Reviewer: Aaron Schulz <[email protected]>
Gerrit-Reviewer: Demon <[email protected]>
Gerrit-Reviewer: Tim Starling <[email protected]>
Gerrit-Reviewer: jenkins-bot
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits