Page MenuHomePhabricator
Paste P6814

Wiki slowing down and becoming unresponsive
ActivePublic

Authored by Sebastian_Berlin-WMSE on Mar 7 2018, 2:59 PM.
Each of these messages appear in the part of the log that leads up to when the error occurs. Lines starting with --- are used as dividers between the different errors and lines starting with ### are comments for the errors; neither are part of the original log.
---
### This seems like a symptom of what's happening, but there was no more information at this point in the log.
[fatal] [3c8cc63c] PHP Fatal Error: Maximum execution time of 30 seconds exceeded
---
### This error appears about 10 times in a row each time.
[GlobalTitleFail] MessageCache::parse called by GadgetHooks::getPreferences/Gadget->getDescription/Message->parse/Message->toString/Message->parseText/MessageCache->parse with no title set.
---
### This error appears about twice in a row each time.
[GlobalTitleFail] MessageCache::parse called by BaseTemplate->makeLink/htmlspecialchars/Message->__toString/Message->toString/Message->parseText/MessageCache->parse with no title set.
---
[GlobalTitleFail] RequestContext::getTitle called by User->load/Hooks::run/Hooks::callHook/NetworkAuth->onUserLoadAfterLoadFromSession/RequestContext->getTitle with no title set.
---
[DBPerformance] Expectation (writes <= 0) by ApiMain::setRequestExpectations not met (actual: 1):
query-m: UPDATE `user` SET user_name = 'X' [TRX#c2b117]
#0 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: UPDATE...', 1)
#1 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\database\Database.php(1036): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: UPDATE...', 1520332860.8885, true, 1)
#2 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\database\Database.php(937): Wikimedia\Rdbms\Database->doProfiledQuery('UPDATE `user` ...', 'UPDATE /* User:...', true, 'User::saveSetti...')
#3 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\database\Database.php(1633): Wikimedia\Rdbms\Database->query('UPDATE `user` ...', 'User::saveSetti...')
#4 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(4043): Wikimedia\Rdbms\Database->update('`user`', Array, Array, 'User::saveSetti...')
#5 C:\inetpub\wwwroot\mediawiki\extensions\NetworkAuth\NetworkAuth.class.php(182): User->saveSettings()
#6 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(177): NetworkAuth->onUserLoadAfterLoadFromSession(Object(User))
#7 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(205): Hooks::callHook('UserLoadAfterLo...', Array, Array, NULL)
#8 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(412): Hooks::run('UserLoadAfterLo...', Array)
#9 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3300): User->load()
#10 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3328): User->getGroups()
#11 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3260): User->getEffectiveGroups()
#12 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3571): User->getRights()
#13 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1421): User->isAllowed('read')
#14 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1566): ApiMain->checkExecutePermissions(Object(ApiQuery))
#15 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(546): ApiMain->executeAction()
#16 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(517): ApiMain->executeActionWithErrorHandling()
#17 C:\inetpub\wwwroot\mediawiki\api.php(94): ApiMain->execute()
#18 {main}
---
[error] [001068685cc3b125a9442658] /mediawiki/api.php?format=json&action=query&prop=info%7Crevisions&rawcontinue=1&rvprop=content%7Cids%7Ctimestamp%7Csize%7Csha1%7Ccontentmodel&revids=429 ErrorException from line 177 of C:\inetpub\wwwroot\mediawiki\includes\Hooks.php: PHP Warning: Parameter 2 to MobileFrontendHooks::onUserLoginComplete() expected to be a reference, value given
#0 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(177): MWExceptionHandler::handleError(integer, string, string, integer, array)
#1 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#2 C:\inetpub\wwwroot\mediawiki\extensions\NetworkAuth\NetworkAuth.class.php(185): Hooks::run(string, array)
#3 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(177): NetworkAuth->onUserLoadAfterLoadFromSession(User)
#4 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#5 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(412): Hooks::run(string, array)
#6 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3300): User->load()
#7 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3328): User->getGroups()
#8 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3260): User->getEffectiveGroups()
#9 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3571): User->getRights()
#10 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1421): User->isAllowed(string)
#11 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1566): ApiMain->checkExecutePermissions(ApiQuery)
#12 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(546): ApiMain->executeAction()
#13 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(517): ApiMain->executeActionWithErrorHandling()
#14 C:\inetpub\wwwroot\mediawiki\api.php(94): ApiMain->execute()
#15 {main}
---
[exception] [1a35aaf9cd7d4ed3818b10e5] /mediawiki/api.php?action=query&format=json&prop=imageinfo&titles=Fil%3ASylvia-yang-409493_cropped.jpg&rawcontinue=1&iiprop=mediatype%7Cmime%7Csize%7Curl%7Cbadfile&iibadfilecontexttitle=Huvudsida&iiurlwidth=1800 MWException from line 4051 of C:\inetpub\wwwroot\mediawiki\includes\user\User.php: CAS update failed on user_touched for user ID '3' (read from replica); the version of the user to be saved is older than the current version.
#0 C:\inetpub\wwwroot\mediawiki\extensions\NetworkAuth\NetworkAuth.class.php(182): User->saveSettings()
#1 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(177): NetworkAuth->onUserLoadAfterLoadFromSession(User)
#2 C:\inetpub\wwwroot\mediawiki\includes\Hooks.php(205): Hooks::callHook(string, array, array, NULL)
#3 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(412): Hooks::run(string, array)
#4 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3300): User->load()
#5 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3328): User->getGroups()
#6 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3260): User->getEffectiveGroups()
#7 C:\inetpub\wwwroot\mediawiki\includes\user\User.php(3571): User->getRights()
#8 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1421): User->isAllowed(string)
#9 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(1566): ApiMain->checkExecutePermissions(ApiQuery)
#10 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(546): ApiMain->executeAction()
#11 C:\inetpub\wwwroot\mediawiki\includes\api\ApiMain.php(517): ApiMain->executeActionWithErrorHandling()
#12 C:\inetpub\wwwroot\mediawiki\api.php(94): ApiMain->execute()
#13 {main}
---
### This error appears about 10 times in a row each time.
[DBPerformance] Expectation (masterConns <= 0) by MediaWiki::restInPeace not met (actual: 1):
[connect to localhost (samsyn)]
#0 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\TransactionProfiler.php(164): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('masterConns', '[connect to loc...', 1)
#1 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(678): Wikimedia\Rdbms\TransactionProfiler->recordConnection('localhost', 'samsyn', true)
#2 C:\inetpub\wwwroot\mediawiki\includes\libs\rdbms\loadbalancer\LoadBalancer.php(751): Wikimedia\Rdbms\LoadBalancer->getConnection(0, Array, false, 1)
#3 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueueDB.php(783): Wikimedia\Rdbms\LoadBalancer->getConnectionRef(-2, Array, 'samsyn', 1)
#4 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueueDB.php(764): JobQueueDB->getDB(-2)
#5 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueueDB.php(187): JobQueueDB->getMasterDB()
#6 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueue.php(336): JobQueueDB->doBatchPush(Array, 0)
#7 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueue.php(306): JobQueue->batchPush(Array, 0)
#8 C:\inetpub\wwwroot\mediawiki\includes\jobqueue\JobQueueGroup.php(154): JobQueue->push(Array)
#9 C:\inetpub\wwwroot\mediawiki\includes\deferred\DeferredUpdates.php(252): JobQueueGroup->push(Array)
#10 C:\inetpub\wwwroot\mediawiki\includes\deferred\DeferredUpdates.php(210): DeferredUpdates::runUpdate(Object(LinksUpdate), Object(Wikimedia\Rdbms\LBFactorySimple), 'enqueue', 2)
#11 C:\inetpub\wwwroot\mediawiki\includes\deferred\DeferredUpdates.php(131): DeferredUpdates::execute(Array, 'enqueue', 2)
#12 C:\inetpub\wwwroot\mediawiki\includes\MediaWiki.php(895): DeferredUpdates::doUpdates('enqueue')
#13 C:\inetpub\wwwroot\mediawiki\includes\MediaWiki.php(719): MediaWiki->restInPeace('fast', true)
#14 C:\inetpub\wwwroot\mediawiki\includes\MediaWiki.php(740): MediaWiki->{closure}()
#15 C:\inetpub\wwwroot\mediawiki\api.php(129): MediaWiki->doPostOutputShutdown('fast')
#16 {main}