Demon has uploaded a new change for review.
https://gerrit.wikimedia.org/r/55777
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.
- Leave timeout default 0.5s for now
Change-Id: Id425616f4fbc1397584e4c153b5b3c4712f85f16
---
M wmf-config/PoolCounterSettings-eqiad.php
M wmf-config/PoolCounterSettings-pmtpa.php
2 files changed, 10 insertions(+), 0 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config
refs/changes/77/55777/1
diff --git a/wmf-config/PoolCounterSettings-eqiad.php
b/wmf-config/PoolCounterSettings-eqiad.php
index 6219355..447e09d 100644
--- a/wmf-config/PoolCounterSettings-eqiad.php
+++ b/wmf-config/PoolCounterSettings-eqiad.php
@@ -19,5 +19,10 @@
'workers' => 2,
'maxqueue' => 100
),
+ 'LuceneSearchRequest' => array(
+ 'class' => 'PoolCounter_Client',
+ 'workers' => 78,
+ 'maxqueue' => 400
+ ),
);
diff --git a/wmf-config/PoolCounterSettings-pmtpa.php
b/wmf-config/PoolCounterSettings-pmtpa.php
index 48fcf8b..ed43b89 100644
--- a/wmf-config/PoolCounterSettings-pmtpa.php
+++ b/wmf-config/PoolCounterSettings-pmtpa.php
@@ -19,5 +19,10 @@
'workers' => 2,
'maxqueue' => 100
),
+ 'LuceneSearchRequest' => array(
+ 'class' => 'PoolCounter_Client',
+ 'workers' => 78,
+ 'maxqueue' => 400
+ ),
);
--
To view, visit https://gerrit.wikimedia.org/r/55777
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Id425616f4fbc1397584e4c153b5b3c4712f85f16
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Demon <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits