Largish watchlists seem to cause time-outs. I'm currently watching about 50k photos on Commons, and I can't access Special:EditWatchlist any more. Is there a way that this could be fixed?
List of steps to reproduce (step by step, including full links if applicable):
- Add 50,000 photos to your watchlist
- Try to access https://commons.wikimedia.org/wiki/Special:EditWatchlist
What happens?:
- Server timed out
- The maximum request time of 60 seconds was exceeded.
- [30a26a7d-dd24-4035-abb9-e04e2db7c2bc] 2022-05-28 18:40:00: Fatal exception of type "Wikimedia\RequestTimeout\RequestTimeoutException"
What should have happened instead?:
- List should be displayed
- At least give a link to the raw watchlist page?
Error
- mwversion: 1.39.0-wmf.13
- reqId: 30a26a7d-dd24-4035-abb9-e04e2db7c2bc
- Find reqId in Logstash
[{reqId}] {exception_url} Wikimedia\RequestTimeout\RequestTimeoutException: The maximum execution time of {limit} seconds was exceededfrom /srv/mediawiki/php-1.39.0-wmf.13/vendor/wikimedia/request-timeout/src/Detail/ExcimerTimerWrapper.php(97)
#0 /srv/mediawiki/php-1.39.0-wmf.13/vendor/wikimedia/request-timeout/src/Detail/ExcimerTimerWrapper.php(72): Wikimedia\RequestTimeout\Detail\ExcimerTimerWrapper->onTimeout(integer)
#1 /srv/mediawiki/php-1.39.0-wmf.13/includes/libs/MapCacheLRU.php(114): Wikimedia\RequestTimeout\Detail\ExcimerTimerWrapper->Wikimedia\RequestTimeout\Detail\{closure}(integer)
#2 /srv/mediawiki/php-1.39.0-wmf.13/includes/cache/LinkCache.php(327): MapCacheLRU->set(string, array)
#3 /srv/mediawiki/php-1.39.0-wmf.13/includes/cache/LinkCache.php(526): LinkCache->addGoodLinkObjFromRow(TitleValue, stdClass, integer)
#4 /srv/mediawiki/php-1.39.0-wmf.13/includes/cache/LinkCache.php(418): LinkCache->getGoodLinkRow(integer, string, array, integer)
#5 /srv/mediawiki/php-1.39.0-wmf.13/includes/linker/LinkRenderer.php(425): LinkCache->addLinkObj(Title)
#6 /srv/mediawiki/php-1.39.0-wmf.13/includes/linker/LinkRenderer.php(236): MediaWiki\Linker\LinkRenderer->getLinkClasses(Title)
#7 /srv/mediawiki/php-1.39.0-wmf.13/includes/linker/LinkRenderer.php(158): MediaWiki\Linker\LinkRenderer->makeKnownLink(Title, NULL, array, array)
#8 /srv/mediawiki/php-1.39.0-wmf.13/includes/specials/SpecialEditWatchlist.php(716): MediaWiki\Linker\LinkRenderer->makeLink(Title)
#9 /srv/mediawiki/php-1.39.0-wmf.13/includes/specials/SpecialEditWatchlist.php(654): SpecialEditWatchlist->buildRemoveLine(Title, string)
#10 /srv/mediawiki/php-1.39.0-wmf.13/includes/specials/SpecialEditWatchlist.php(200): SpecialEditWatchlist->getNormalForm()
#11 /srv/mediawiki/php-1.39.0-wmf.13/includes/specials/SpecialEditWatchlist.php(164): SpecialEditWatchlist->executeViewEditWatchlist()
#12 /srv/mediawiki/php-1.39.0-wmf.13/includes/specialpage/SpecialPage.php(688): SpecialEditWatchlist->execute(integer)
#13 /srv/mediawiki/php-1.39.0-wmf.13/includes/specialpage/SpecialPageFactory.php(1415): SpecialPage->run(NULL)
#14 /srv/mediawiki/php-1.39.0-wmf.13/includes/MediaWiki.php(316): MediaWiki\SpecialPage\SpecialPageFactory->executePath(string, RequestContext)
#15 /srv/mediawiki/php-1.39.0-wmf.13/includes/MediaWiki.php(912): MediaWiki->performRequest()
#16 /srv/mediawiki/php-1.39.0-wmf.13/includes/MediaWiki.php(566): MediaWiki->main()
#17 /srv/mediawiki/php-1.39.0-wmf.13/index.php(50): MediaWiki->run()
#18 /srv/mediawiki/php-1.39.0-wmf.13/index.php(46): wfIndexMain()
#19 /srv/mediawiki/w/index.php(3): require(string)
#20 {main}