EBernhardson has uploaded a new change for review. ( https://gerrit.wikimedia.org/r/365406 )
Change subject: Configure CirrusSearch-MoreLike pool counter ...................................................................... Configure CirrusSearch-MoreLike pool counter A reduction in the varnish cache hit rate for related articles led to an overload of the search cluster, because the very expensive morelike queries were in the same poolcounter as regular search queries. Split them out into their own pool counter to allow setting a much lower limit. Bug: T170648 Change-Id: Iec51f5407f63854c1557b38ed23cd3274d020876 --- M wmf-config/PoolCounterSettings.php 1 file changed, 10 insertions(+), 1 deletion(-) git pull ssh://gerrit.wikimedia.org:29418/operations/mediawiki-config refs/changes/06/365406/1 diff --git a/wmf-config/PoolCounterSettings.php b/wmf-config/PoolCounterSettings.php index 135b746..a0062a0 100644 --- a/wmf-config/PoolCounterSettings.php +++ b/wmf-config/PoolCounterSettings.php @@ -14,7 +14,7 @@ 'CirrusSearch-Search' => [ 'class' => 'PoolCounter_Client', 'timeout' => 15, - 'workers' => 432, + 'workers' => 382, 'maxqueue' => 600, ], // Super common and mostly fast @@ -46,6 +46,15 @@ 'workers' => 50, 'maxqueue' => 200, ], + // These are very expensive and incredibly common at more than 5M per hour + // before varnish caching. If the somehow the cache hit rate drops this + // protects the cluster + 'CirrusSearch-MoreLike' => [ + 'class' => 'PoolCounter_Client', + 'timeout' => 5, + 'workers' => 50, + 'maxqueue' => 200, + ], 'FileRender' => [ 'class' => 'PoolCounter_Client', 'timeout' => 8, -- To view, visit https://gerrit.wikimedia.org/r/365406 To unsubscribe, visit https://gerrit.wikimedia.org/r/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Iec51f5407f63854c1557b38ed23cd3274d020876 Gerrit-PatchSet: 1 Gerrit-Project: operations/mediawiki-config Gerrit-Branch: master Gerrit-Owner: EBernhardson <ebernhard...@wikimedia.org> _______________________________________________ MediaWiki-commits mailing list MediaWiki-commits@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits