Skip to content

Instantly share code, notes, and snippets.

@danyill
Created November 20, 2018 21:09
Show Gist options
  • Save danyill/ba084a385ec1ad94f170827cfc6b0191 to your computer and use it in GitHub Desktop.
Save danyill/ba084a385ec1ad94f170827cfc6b0191 to your computer and use it in GitHub Desktop.
partial log from root@b18bd4c9d8a9:/var/log/mediawiki#
-0', true)
#20 /var/www/html/w/includes/Message.php(1290): MessageCache->get('editnotice-0', true, Object(LanguageEn))
#21 /var/www/html/w/includes/Message.php(982): Message->fetchMessage()
#22 /var/www/html/w/includes/Title.php(5052): Message->exists()
#23 /var/www/html/w/extensions/VisualEditor/includes/ApiVisualEditor.php(382): Title->getEditNotices()
#24 /var/www/html/w/includes/api/ApiMain.php(1579): ApiVisualEditor->execute()
#25 /var/www/html/w/includes/api/ApiMain.php(535): ApiMain->executeAction()
#26 /var/www/html/w/includes/api/ApiMain.php(506): ApiMain->executeActionWithErrorHandling()
#27 /var/www/html/w/api.php(94): ApiMain->execute()
#28 {main}
[DBPerformance] Expectation (writes <= 0) by ApiMain::setRequestExpectations not met (actual: 2):
query-m: REPLACE INTO `objectcache` (keyname,value,exptime) VALUES ('X')
#0 /var/www/html/w/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: REPLAC...', 2)
#1 /var/www/html/w/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: REPLAC...', 1542747922.4698, true, 2)
#2 /var/www/html/w/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('REPLACE INTO `o...', 'REPLACE /* SqlB...', true, 'SqlBagOStuff::s...')
#3 /var/www/html/w/includes/libs/rdbms/database/Database.php(2741): Wikimedia\Rdbms\Database->query('REPLACE INTO `o...', 'SqlBagOStuff::s...')
#4 /var/www/html/w/includes/libs/rdbms/database/DatabaseMysqlBase.php(516): Wikimedia\Rdbms\Database->nativeReplace('`objectcache`', Array, 'SqlBagOStuff::s...')
#5 /var/www/html/w/includes/objectcache/SqlBagOStuff.php(361): Wikimedia\Rdbms\DatabaseMysqlBase->replace('objectcache', Array, Array, 'SqlBagOStuff::s...')
#6 /var/www/html/w/includes/objectcache/SqlBagOStuff.php(376): SqlBagOStuff->setMulti(Array, 0)
#7 /var/www/html/w/includes/cache/MessageCache.php(670): SqlBagOStuff->set('mediawiki:messa...', Array)
#8 /var/www/html/w/includes/cache/MessageCache.php(420): MessageCache->saveToCaches(Array, 'all', 'en')
#9 /var/www/html/w/includes/cache/MessageCache.php(342): MessageCache->loadFromDBWithLock('en', Array, NULL)
#10 /var/www/html/w/includes/cache/MessageCache.php(971): MessageCache->load('en')
#11 /var/www/html/w/includes/cache/MessageCache.php(900): MessageCache->getMsgFromNamespace('Editnotice-0', 'en')
#12 /var/www/html/w/includes/cache/MessageCache.php(868): MessageCache->getMessageForLang(Object(LanguageEn), 'editnotice-0', true, Array)
#13 /var/www/html/w/includes/cache/MessageCache.php(808): MessageCache->getMessageFromFallbackChain(Object(LanguageEn), 'editnotice-0', true)
#14 /var/www/html/w/includes/Message.php(1290): MessageCache->get('editnotice-0', true, Object(LanguageEn))
#15 /var/www/html/w/includes/Message.php(982): Message->fetchMessage()
#16 /var/www/html/w/includes/Title.php(5052): Message->exists()
#17 /var/www/html/w/extensions/VisualEditor/includes/ApiVisualEditor.php(382): Title->getEditNotices()
#18 /var/www/html/w/includes/api/ApiMain.php(1579): ApiVisualEditor->execute()
#19 /var/www/html/w/includes/api/ApiMain.php(535): ApiMain->executeAction()
#20 /var/www/html/w/includes/api/ApiMain.php(506): ApiMain->executeActionWithErrorHandling()
#21 /var/www/html/w/api.php(94): ApiMain->execute()
#22 {main}
[DBPerformance] Expectation (writes <= 0) by ApiMain::setRequestExpectations not met (actual: 3):
query-m: DELETE FROM `objectcache` WHERE keyname = 'X'
#0 /var/www/html/w/includes/libs/rdbms/TransactionProfiler.php(219): Wikimedia\Rdbms\TransactionProfiler->reportExpectationViolated('writes', 'query-m: DELETE...', 3)
#1 /var/www/html/w/includes/libs/rdbms/database/Database.php(1256): Wikimedia\Rdbms\TransactionProfiler->recordQueryCompletion('query-m: DELETE...', 1542747922.4735, true, 1)
#2 /var/www/html/w/includes/libs/rdbms/database/Database.php(1151): Wikimedia\Rdbms\Database->doProfiledQuery('DELETE FROM `ob...', 'DELETE /* SqlBa...', true, 'SqlBagOStuff::d...')
#3 /var/www/html/w/includes/libs/rdbms/database/Database.php(2845): Wikimedia\Rdbms\Database->query('DELETE FROM `ob...', 'SqlBagOStuff::d...')
#4 /var/www/html/w/includes/objectcache/SqlBagOStuff.php(433): Wikimedia\Rdbms\Database->delete('`objectcache`', 'keyname = 'medi...', 'SqlBagOStuff::d...')
#5 /var/www/html/w/includes/libs/objectcache/BagOStuff.php(447): SqlBagOStuff->delete('mediawiki:messa...')
#6 /var/www/html/w/includes/libs/objectcache/BagOStuff.php(485): BagOStuff->unlock('mediawiki:messa...')
#7 [internal function]: BagOStuff->{closure}()
#8 /var/www/html/w/vendor/wikimedia/scoped-callback/src/ScopedCallback.php(76): call_user_func_array(Object(Closure), Array)
#9 /var/www/html/w/includes/cache/MessageCache.php(420): Wikimedia\ScopedCallback->__destruct()
#10 /var/www/html/w/includes/cache/MessageCache.php(342): MessageCache->loadFromDBWithLock('en', Array, NULL)
#11 /var/www/html/w/includes/cache/MessageCache.php(971): MessageCache->load('en')
#12 /var/www/html/w/includes/cache/MessageCache.php(900): MessageCache->getMsgFromNamespace('Editnotice-0', 'en')
#13 /var/www/html/w/includes/cache/MessageCache.php(868): MessageCache->getMessageForLang(Object(LanguageEn), 'editnotice-0', true, Array)
#14 /var/www/html/w/includes/cache/MessageCache.php(808): MessageCache->getMessageFromFallbackChain(Object(LanguageEn), 'editnotice-0', true)
#15 /var/www/html/w/includes/Message.php(1290): MessageCache->get('editnotice-0', true, Object(LanguageEn))
#16 /var/www/html/w/includes/Message.php(982): Message->fetchMessage()
#17 /var/www/html/w/includes/Title.php(5052): Message->exists()
#18 /var/www/html/w/extensions/VisualEditor/includes/ApiVisualEditor.php(382): Title->getEditNotices()
#19 /var/www/html/w/includes/api/ApiMain.php(1579): ApiVisualEditor->execute()
#20 /var/www/html/w/includes/api/ApiMain.php(535): ApiMain->executeAction()
#21 /var/www/html/w/includes/api/ApiMain.php(506): ApiMain->executeActionWithErrorHandling()
#22 /var/www/html/w/api.php(94): ApiMain->execute()
#23 {main}
[MessageCache] MessageCache::load: Loading en... local cache is empty, global cache is expired/volatile, loading from database
Title::getRestrictionTypes: applicable restrictions to [[Modelling GXP Parallels in PowerFactory]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Modelling GXP Parallels in PowerFactory]] are {edit,move}
User::getBlockedStatus: checking...
Article::getContext called and $mContext is null. Return RequestContext::getMain(); for sanity
EditPage::importFormData: Not a posted form.
User: loading options for user 4 from override cache.
Unstubbing $wgParser on call of $wgParser::firstCallInit from MessageCache->parse
Parser: using preprocessor: Preprocessor_DOM
Title::getRestrictionTypes: applicable restrictions to [[Template:IconFile]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Template:Spaces]] are {edit,move}
Title::getRestrictionTypes: applicable restrictions to [[Module:String]] are {edit,move}
[caches] parser: SqlBagOStuff
Parser cache options found.
ParserOutput cache found.
MediaHandlerFactory::getHandler: no handler found for application/vnd.openxmlformats-officedocument.presentationml.presentation.
MediaHandlerFactory::getHandler: no handler found for application/vnd.openxmlformats-officedocument.wordprocessingml.document.
MediaHandlerFactory::getHandler: no handler found for application/zip.
[Mime] MimeAnalyzer::loadFiles: loading mime types from /var/www/html/w/includes/libs/mime/mime.types
[Mime] MimeAnalyzer::loadFiles: loading mime info from /var/www/html/w/includes/libs/mime/mime.info
MediaWiki::preOutputCommit: primary transaction round committed
MediaWiki::preOutputCommit: pre-send deferred updates completed
MediaWiki::preOutputCommit: LBFactory shutdown completed
Request ended normally
[session] Saving all sessions on shutdown
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'db'.
[DBConnection] Wikimedia\Rdbms\{closure}: closing connection to database 'db'.
root@b18bd4c9d8a9:/var/log/mediawiki#
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment