jenkins-bot has submitted this change and it was merged.
Change subject: Poolcounter: disable search temporarily
......................................................................
Poolcounter: disable search temporarily
As search is not working and ES is in bad shape, try to make it less of
a burden by blocking searches via poolcounter
Change-Id: Ic7c3559cc4b8fa98b79a661e9ecc3a06ce373e88
---
M wmf-config/PoolCounterSettings-common.php
1 file changed, 8 insertions(+), 4 deletions(-)
Approvals:
Giuseppe Lavagetto: Looks good to me, approved
jenkins-bot: Verified
diff --git a/wmf-config/PoolCounterSettings-common.php
b/wmf-config/PoolCounterSettings-common.php
index ca4399e..4b256f2 100644
--- a/wmf-config/PoolCounterSettings-common.php
+++ b/wmf-config/PoolCounterSettings-common.php
@@ -15,14 +15,16 @@
'class' => 'PoolCounter_Client',
'timeout' => 15,
'workers' => 432,
- 'maxqueue' => 600,
+ 'maxqueue' => 1,
+ 'slots' => 1,
),
// Super common and mostly fast
'CirrusSearch-Prefix' => array(
'class' => 'PoolCounter_Client',
'timeout' => 15,
'workers' => 432,
- 'maxqueue' => 600,
+ 'maxqueue' => 1,
+ 'slots' => 1,
),
// Regex searches are much heavier then regular searches so we limit the
// concurrent number.
@@ -30,14 +32,16 @@
'class' => 'PoolCounter_Client',
'timeout' => 60,
'workers' => 10,
- 'maxqueue' => 20,
+ 'maxqueue' => 1,
+ 'slots' => 1,
),
// These should be very very fast and reasonably rare
'CirrusSearch-NamespaceLookup' => array(
'class' => 'PoolCounter_Client',
'timeout' => 5,
'workers' => 50,
- 'maxqueue' => 200,
+ 'maxqueue' => 1,
+ 'slots' => 1,
),
'FileRender' => array(
'class' => 'PoolCounter_Client',
--
To view, visit https://gerrit.wikimedia.org/r/218304
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: merged
Gerrit-Change-Id: Ic7c3559cc4b8fa98b79a661e9ecc3a06ce373e88
Gerrit-PatchSet: 5
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Giuseppe Lavagetto <[email protected]>
Gerrit-Reviewer: Mobrovac <[email protected]>
Gerrit-Reviewer: jenkins-bot <>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits