[Mediawiki-l] building a replica/backup media wiki

Jeremy Baron jeremy at tuxmachine.com
Wed Mar 14 23:00:23 UTC 2012


On Wed, Mar 14, 2012 at 18:51, Joseph Spenner <joseph85750 at yahoo.com> wrote:
> However, when I access the replica after a period of time, it's VERY slow/sluggish.  If I edit the LocalSettings.php file and disable the 'read only' line, it's lightning fast again.  If I then change it back to 'read only', it's still fast but slows down over the course of the night.

You'll get the same behavior if you set mediawiki to cache in
memcached but no memcached is running. Maybe the wiki is set to cache
in the DB and wgReadOnly prevents writing to the cache so sluggish
ensues? I don't have time to dig right now but maybe that's a
sufficient hint. ;)

-Jeremy



More information about the MediaWiki-l mailing list