hoo created this task. hoo claimed this task. hoo added subscribers: Rschen7754, Candalua, adrianheine, Eloquence, Reaper35, Pengo, Dr_Brains, jeremyb, RP88, -jem-, Wikidata-bugs, Rical, greg, Kersti, Abraham, JulesWinnfield-hu, Jasper, HenkvD, Addshore, mxn, He7d3r, Daniel_Mietchen, ValterVB, Filceolaire, Bennylin, jayvdb, Denny, Micru, aude, Qgil, matej_suchanek, Cwek, Aubrey, Ricordisamoa, Jarekt, MZMcBride, Aklapper, Hkjacksonhk, Ash_Crow, Mvolz, geraki, Yann, Multichill, Snipre, Liuxinyu970226, Florian, Pietrodn, Ainali, Chmarkine, Laddo, Lydia_Pintscher, MF-Warburg, Stryn, zhuyifei1999, Ltrlg, daniel, Danmichaelo, hoo, Anomie. hoo added projects: Wikidata, Tracking, MediaWiki-extensions-WikibaseClient.
TASK DESCRIPTION So that users can only access so many entities during a page parse. This should apply to both Lua and the parser function whenever one of them needs to load a new entity. This is needed to make sure that users can't load so many entities that things time out while rendering or even worse result in a php fatal. Also this could be needed as an emergency switch in case arbitrary access causes trouble to network traffic or the external storage. An alternative approache would be to limit the overall size of entities loaded (this has the downsides that a page that rendered fine at some point might start showing errors at some point because data was added to entities on Wikidata). Another alternative approach would be to just mark all such function calls as expensive, but that's not very fine grained and wont allow us to react to eventual imminent problems in production (https://www.mediawiki.org/wiki/Manual:$wgExpensiveParserFunctionLimit). Or we could just not prune entities from the in process lua cache and let Lua run out of memory if the users are using to much (that's not very fine grained and interferes with other modules). TASK DETAIL https://phabricator.wikimedia.org/T93885 REPLY HANDLER ACTIONS Reply to comment or attach files, or !close, !claim, !unsubscribe or !assign <username>. EMAIL PREFERENCES https://phabricator.wikimedia.org/settings/panel/emailpreferences/ To: hoo Cc: Anomie, hoo, Danmichaelo, daniel, Ltrlg, zhuyifei1999, Stryn, MF-Warburg, Lydia_Pintscher, Laddo, Chmarkine, Ainali, Pietrodn, Florian, Liuxinyu970226, Snipre, Multichill, Yann, geraki, Mvolz, Ash_Crow, Hkjacksonhk, Aklapper, MZMcBride, Jarekt, Ricordisamoa, Aubrey, Cwek, matej_suchanek, Qgil, aude, Micru, Denny, jayvdb, Bennylin, Filceolaire, ValterVB, Daniel_Mietchen, He7d3r, mxn, Addshore, HenkvD, Jasper, JulesWinnfield-hu, Abraham, Kersti, greg, Rical, Wikidata-bugs, -jem-, RP88, jeremyb, Dr_Brains, Pengo, Reaper35, Eloquence, adrianheine, Candalua, Rschen7754 _______________________________________________ Wikidata-bugs mailing list Wikidata-bugs@lists.wikimedia.org https://lists.wikimedia.org/mailman/listinfo/wikidata-bugs