Last modified: 2014-10-27 05:20:29 UTC
From <https://noc.wikimedia.org/conf/InitialiseSettings.php.txt>: --- 'wgMiserMode' => array( 'default' => true, // Slaves aren't fast enough to generate all special pages all the time. ), --- Following the resolution of bug 39667 and bug 43668, I think we should investigate disabling miser mode on small wikis (wikis listed here: <https://noc.wikimedia.org/conf/small.dblist>).
Realistically, this is probably not ready for shell keyword: $wgMiserMode does too many things, and [the absence of] all of them would be concentrated on a single database (s3) for all ~540 such wikis.
CCing Sean for a comment on the database load and viability of this.
With Nemo on this. It would have an unknown impact on S3, and switching back to doing everything dynamically is a recipe for surprises. We probably need to apply finer grained controls than wgMiserMode, or disable it based on a /much/ shorter list that small.dblist, or increase the frequency of cache refreshes. I favour the last option.
I guess the step up is to go from doing it once a month like we do currently to twice a month? https://github.com/wikimedia/operations-puppet/blob/production/manifests/misc/maintenance.pp
Seems like a fair increase.
(In reply to Sean Pringle from comment #3) > With Nemo on this. It would have an unknown impact on S3, and switching back > to doing everything dynamically is a recipe for surprises. "Everything" is a bit broad. :-) I looked through mediawiki/core.git and $wgMiserMode is used primarily with a few API modules and Special pages. Most Wikimedia wikis are pretty small, so I'm not sure I understand the real concern here. (And, broadly, $wgMiserMode is actually used a lot less than I would've thought.) Part of the point of creating <https://noc.wikimedia.org/conf/small.dblist> was to be able to disable $wgMiserMode on a subset of Wikimedia wikis rather than punishing every wiki with $wgMiserMode = true; due to the unusual size of a few wikis. That is, just because the English Wikipedia is very large doesn't mean that the Farsi Wikibooks needs to be constricted and constrained. That's not fair. If these miser mode-protected features within MediaWiki are truly incapable of working well even on small wikis, then they clearly need to be fixed.
Thanks Sean for updating this report. (In reply to Sam Reed (reedy) from comment #4) > I guess the step up is to go from doing it once a month like we do currently > to twice a month? Yes! We also have other bugs about incremental increases for bigger wikis, we just need to avoid forgetting to regularly do it. Who makes some patches? :) (In reply to MZMcBride from comment #6) > Part of the point of creating <https://noc.wikimedia.org/conf/small.dblist> > was to be able to disable $wgMiserMode on a subset of Wikimedia wikis Sure, but there's no need to do them all at once. We could do 100 wikis at a time (a bit boring), or find other interesting groups, e.g. all small wikiquotes and then all small wikibooks and so on: does this work in the current configuration system?
Not a fix for the $wgMiserMode request, but related: https://gerrit.wikimedia.org/r/#/c/168933/