Filippo Giunchedi has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/218589

Change subject: disable search temporarily
......................................................................

disable search temporarily

ES troubles again, throttle via poolcounter

Bug: T102463
Change-Id: I78627d9d4daa7138b6e6115790bb2ade4b7188e4
---
M wmf-config/PoolCounterSettings-common.php
1 file changed, 8 insertions(+), 4 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config 
refs/changes/89/218589/1

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/218589
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: newchange
Gerrit-Change-Id: I78627d9d4daa7138b6e6115790bb2ade4b7188e4
Gerrit-PatchSet: 1
Gerrit-Project: operations/mediawiki-config
Gerrit-Branch: master
Gerrit-Owner: Filippo Giunchedi <fgiunch...@wikimedia.org>

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

Reply via email to