Last modified: 2008-10-31 11:05:13 UTC

Wikimedia Bugzilla is closed!

Wikimedia migrated from Bugzilla to Phabricator. Bug reports are handled in Wikimedia Phabricator.
This static website is read-only and for historical purposes. It is not possible to log in and except for displaying bug reports and their history, links might be broken. See T12383, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10383 - If PURGE command to Squid gets 404-cache miss, MW sends multiple retries
If PURGE command to Squid gets 404-cache miss, MW sends multiple retries
Status: RESOLVED FIXED
Product: MediaWiki
Classification: Unclassified
General/Unknown (Other open bugs)
1.11.x
PC Linux
: Normal minor with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://commons.uncyclomedia.org
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-27 15:02 UTC by Carl Austin Bennett
Modified: 2008-10-31 11:05 UTC (History)
2 users (show)

See Also:
Web browser: ---
Mobile Platform: ---
Assignee Huggle Beta Tester: ---


Attachments

Description Carl Austin Bennett 2007-06-27 15:02:28 UTC
I'm seeing this sort of entry in the Squid access.log's:

1182909903.482      0 64.86.165.249 TCP_MISS/404 109 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -
1182909930.511      0 64.86.165.249 TCP_MISS/404 109 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -
1182909947.181      0 64.86.165.249 TCP_MISS/404 109 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -
1182909964.933      0 64.86.165.249 TCP_MISS/404 109 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -
1182909982.592      0 64.86.165.249 TCP_MISS/404 109 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -

This was in response to a user's ?action=purge request on a page that happened to include that particular thumbnail.

1182910159.810      5 64.86.165.249 TCP_MISS/404 110 PURGE http://images.uncyc.org/commons/thumb/1/1a/Singe_savant_du_mois.png/479px-Singe_savant_du_mois.png - NONE/- -
1182910160.066    256 64.86.165.249 TCP_MISS/404 110 PURGE http://images.uncyc.org/commons/thumb/1/1a/Singe_savant_du_mois.png/70px-Singe_savant_du_mois.png - NONE/- -
1182910160.124      7 64.86.165.249 TCP_MISS/404 110 PURGE http://images.uncyc.org/commons/1/1a/Singe_savant_du_mois.png - NONE/- -
1182910160.325      0 64.86.165.249 TCP_MISS/404 110 PURGE http://commons.uncyclomedia.org/wiki/Image:Singe_savant_du_mois.png - NONE/- -
1182910160.422      7 64.86.165.249 TCP_MISS/404 110 PURGE http://commons.uncyclomedia.org/index.php? - NONE/- -
1182910162.664      0 64.86.165.249 TCP_MISS/404 110 PURGE http://images.uncyc.org/commons/thumb/1/1a/Singe_savant_du_mois.png/479px-Singe_savant_du_mois.png - NONE/- -
1182910227.110      0 64.86.165.249 TCP_MISS/404 110 PURGE http://images.uncyc.org/commons/thumb/d/df/Creative-commies.gif/30px-Creative-commies.gif - NONE/- -

Again, a PURGE attempt gets a 404 response and is retried for some reason.

SquidUpdate.php on this server was checked out from SVN (MW 1.11alpha) on May 11th, 2007. Squid itself is version Version 2.6.STABLE13 as packaged with an RH distribution.

I presume that SquidUpdate.php should not be retrying these PURGE requests to the Squid servers if they come back as 404?
Comment 1 Yann Forget 2008-08-12 19:31:11 UTC
Hello, It seems that I have quite the same issue at http://www.wikilivres.info/
Comment 2 Yann Forget 2008-08-12 20:41:30 UTC
This happens with version 1.12.0, not with 1.10.1. Squid is 2.6.5-6etch1 (Debian stable).

My config http://www.mediawiki.org/wiki/Squid_Reverse_Proxy

1218573257.533      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573258.581      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573259.618      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573260.642      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573261.659      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573262.663      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
1218573263.676      0 67.205.96.134 TCP_MISS/404 109 PURGE http://www.wikilivres.info/w/images/thumb/6/64/100%25.png/9px-100%25.png - NONE/- -
Comment 3 Aryeh Gregor (not reading bugmail, please e-mail directly) 2008-08-13 16:49:59 UTC
Why is it you think this is problematic or abnormal?  Is it causing any problems?
Comment 4 Yann Forget 2008-08-13 17:09:04 UTC
It inscrease quite substantially the load on Squid.
Comment 5 Yann Forget 2008-10-31 11:05:13 UTC
The problem has disappeared with MW version 1.13.2.

Note You need to log in before you can comment on or make changes to this bug.


Navigation
Links