[Mediawiki-l] Saving new pages 100x slower when squid in use

Brion Vibber brion at pobox.com
Sat Oct 21 14:12:15 UTC 2006


Don Feliciano wrote:
[snip]
> Saving newly created pages and uploading files takes FOREVER when squid 
> is turned on.
> 
> With no squid, saving a new page takes about 1 second.  With squid, 
> saving a new page takes about 105 seconds.

This kind of length sounds like the purge connections are timing out and 
failing or something. Can you provide your squid-related options from 
LocalSettings.php? Are you using the TCP purging or HTCP over UDP? Can 
you confirm that you can connect to the squid and send purge requests?

When using the normal TCP/HTTP purges, the system will try to connect to 
the boxes in $wgSquidServers to issue HTTP purge requests. You can 
manually try one in telnet:

$ telnet foo 80
PURGE http://myserver/some/page HTTP/1.0

or such.

-- brion vibber (brion @ pobox.com)



More information about the MediaWiki-l mailing list