Hello,

First: thanks Tim for the answer, I really appreciate it !!! You make the day 
of someone in the world :-)

Here are some modifications I have done to my LocalSettings.php:

Tim suggests:

$wgCacheDirectory = "$IP/cache/mediawiki001";   (was already set)
$wgMsgCacheExpiry = 365*86400;                  (was at 86400 from 
DefaultSettings.php)

Right after this modification, I didn't had any other 408 errors for the rest 
of the day...

BUT, I went to Special:ListFiles and clicked on a picture and it took a very 
long time before the image was displayed (let's say near a minute)... doesn't 
make sens... It was long just if I clicked on a pict listed in 
Special:ListFiles...
I have continue my search on the net and found this:
http://www.mediawiki.org/wiki/Thread:Project:Support_desk/Upload_slow
So I tried to disable InstantCommons (I don't need it anyway) and BINGO ! after 
a day, all is fast:

# InstantCommons allows wiki to use images from http://commons.wikimedia.org
$wgUseInstantCommons = false;
$wgAllowExternalImages = false;
#$wgAllowExternalImageFrom = array();

I cannot understand why suddently it runned slowly, but it seems that these 
changes solved the issue...

Again: thanks !!!

Cheers !

-- pierre



-----Original Message-----
From: [email protected] 
[mailto:[email protected]] On Behalf Of Tim Starling
Sent: Thursday, October 03, 2013 11:50 PM
To: [email protected]
Subject: Re: [MediaWiki-l] Mediawiki - suddenly slow - suddenly fast - Apache 
error 408

On 03/10/13 06:56, Pierre Labrecque wrote:
> Since 2 weeks, I experience some problems : the site runs very fast, 
> and suddenly runs slow for a couple of seconds (let say 15/20 seconds 
> to load a single page), then back to normal.

It sounds like a recache of the LocalisationCache, or MessageCache or both. Try 
setting $wgMsgCacheExpiry = 365*86400, and set $wgCacheDirectory to the path of 
a fast local (i.e. not NFS) writable directory.

-- Tim Starling


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l


_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l

Reply via email to