Last modified: 2014-03-24 01:35:10 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 T12173, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 10173 - Some Squids seem to be serving stale pages
Some Squids seem to be serving stale pages
Status: REOPENED
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Low normal with 1 vote (vote)
: ---
Assigned To: Nobody - You can work on this!
http://http://en.wikipedia.org/wiki/N...
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2007-06-06 18:42 UTC by Mark Carrier
Modified: 2014-03-24 01:35 UTC (History)
8 users (show)

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


Attachments

Description Mark Carrier 2007-06-06 18:42:21 UTC
On Windows XP SP2:

on http://http://en.wikipedia.org/wiki/Network_Marketing

The first sentence of the "Criticism of MLM" section in Firefox 2.0.0.4 reads:
"The MLM model does not guarantee the success of any individual involved in this model. The success will depend primarily on amount of work done by the individual and is not a good model for mediocre persons."

In Internet Explorer 6.0.2900.2180,  this sentence is completely missing.  It does not even appear in the source code.
Comment 1 Gurch 2007-06-06 20:51:43 UTC
Works for me. Most likely, Internet Explorer has cached an older version of the page; try clearing your browser cache and see if the problem persists.
Comment 2 Gurch 2007-06-06 20:53:11 UTC
Actually, I've got that the wrong way round; since the text is no longer in the article, it's Firefox that has cached an older version.
Comment 3 Mark Carrier 2007-06-06 21:00:53 UTC
I had definitely never visited this page before.  I tried it on another platform and it did the same.
Comment 4 Aryeh Gregor (not reading bugmail, please e-mail directly) 2007-06-06 21:12:06 UTC
Can't reproduce.
Comment 5 Platonides 2007-06-06 21:18:26 UTC
If accessing (with Firefox) http://en.wikipedia.org/wiki/Network_Marketing which is a redirect to [[w:Multi-level marketing]], i get "page last modified 23:03, 4 June 2007", but http://en.wikipedia.org/wiki/Multi-level_marketing "last modified 20:38, 6 June 2007".

GET /wiki/Network_Marketing HTTP/1.1
....
If-Modified-Since: Mon, 04 Jun 2007 23:03:33 GMT


HTTP/1.0 304 Not Modified
Date: Tue, 05 Jun 2007 00:16:10 GMT
Content-Type: text/html; charset=utf-8
Last-Modified: Mon, 04 Jun 2007 23:03:33 GMT
Age: 161466
X-Cache: HIT from knsq1.knams.wikimedia.org
X-Cache-Lookup: HIT from knsq1.knams.wikimedia.org:3128
X-Cache: MISS from knsq5.knams.wikimedia.org
X-Cache-Lookup: MISS from knsq5.knams.wikimedia.org:80
Via: 1.0 knsq1.knams.wikimedia.org:3128 (squid/2.6.STABLE12), 1.0 knsq5.knams.wikimedia.org:80 (squid/2.6.STABLE12)
Connection: keep-alive

After a Ctrl+F5 the right version is provided and:

HTTP/1.0 304 Not Modified
Date: Wed, 06 Jun 2007 21:14:31 GMT
Content-Type: text/html; charset=utf-8
Last-Modified: Wed, 06 Jun 2007 20:38:38 GMT
Age: 68
X-Cache: HIT from knsq1.knams.wikimedia.org
X-Cache-Lookup: HIT from knsq1.knams.wikimedia.org:3128
X-Cache: MISS from knsq7.knams.wikimedia.org
X-Cache-Lookup: MISS from knsq7.knams.wikimedia.org:80
Via: 1.0 knsq1.knams.wikimedia.org:3128 (squid/2.6.STABLE12), 1.0 knsq7.knams.wikimedia.org:80 (squid/2.6.STABLE12)
Connection: keep-alive
Comment 6 Michael Lehenbauer 2007-10-09 05:36:34 UTC
I'm seeing this problem as well.  In my case, when I requested the article http://en.wikipedia.org/wiki/Zorb (which redirects to Zorbing), the first sentence I saw was "Zorbing is a recreational activity developed in the 1990s ..." which is over 24 hours old.

I'm using IE 7 on Windows XP SP2.  I cleared my browser cache and was still able to reproduce the problem.  Here's the HTTP exchange:

  GET /wiki/Zorb HTTP/1.1
  Accept: image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, application/x-shockwave-flash, */*
  Accept-Language: en-us
  UA-CPU: x86
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
  Host: en.wikipedia.org
  Connection: Keep-Alive
  
  HTTP/1.0 200 OK
  Date: Sun, 07 Oct 2007 15:50:15 GMT
  Server: Apache
  X-Powered-By: PHP/5.1.4
  Content-Language: en
  Vary: Accept-Encoding,Cookie
  Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
  Last-Modified: Sat, 06 Oct 2007 18:19:07 GMT
  Content-Encoding: gzip
  Content-Length: 7686
  Content-Type: text/html; charset=utf-8
  Age: 131313
  X-Cache: HIT from sq34.wikimedia.org
  X-Cache-Lookup: HIT from sq34.wikimedia.org:3128
  X-Cache: MISS from sq34.wikimedia.org
  X-Cache-Lookup: MISS from sq34.wikimedia.org:80
  Via: 1.0 sq34.wikimedia.org:3128 (squid/2.6.STABLE13), 1.0 sq34.wikimedia.org:80 (squid/2.6.STABLE13)
  Connection: keep-alive

I'm not sure if it's relevant, but the "Date:" in the response isn't even correct.  It's a couple days old.

I did a Ctrl+F5 and the problem was fixed.  Here's the exchange (Ctrl+F5 seems to add "Cache-Control: no-cache" to the request):

  GET /wiki/Zorb HTTP/1.1
  Accept: */*
  Accept-Language: en-us
  UA-CPU: x86
  Accept-Encoding: gzip, deflate
  User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; .NET CLR 1.1.4322; .NET CLR 2.0.50727)
  Host: en.wikipedia.org
  Connection: Keep-Alive
  Cache-Control: no-cache
  
  HTTP/1.0 200 OK
  Date: Tue, 09 Oct 2007 05:22:22 GMT
  Server: Apache
  X-Powered-By: PHP/5.2.1
  Content-Language: en
  Vary: Accept-Encoding,Cookie
  Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
  Last-Modified: Tue, 09 Oct 2007 05:16:50 GMT
  Content-Encoding: gzip
  Content-Length: 7591
  Content-Type: text/html; charset=utf-8
  X-Cache: MISS from sq34.wikimedia.org
  X-Cache-Lookup: HIT from sq34.wikimedia.org:3128
  X-Cache: MISS from sq33.wikimedia.org
  X-Cache-Lookup: MISS from sq33.wikimedia.org:80
  Via: 1.0 sq34.wikimedia.org:3128 (squid/2.6.STABLE13), 1.0 sq33.wikimedia.org:80 (squid/2.6.STABLE13)
  Connection: keep-alive

And now the "Date:" is correct and "Last-Modified" seems to represent the last edit, and everything is good...

It looks like every time the "Zorbing" page gets updated, I keep getting stale results at http://en.wikipedia.org/wiki/Zorb (which redirects to "Zorbing") until I press Ctrl+F5.
Comment 7 Michael Lehenbauer 2007-10-09 05:42:43 UTC
Oh.  Also note that http://en.wikipedia.org/wiki/Zorbing always gives me the latest version of the page, even when http://en.wikipedia.org/wiki/Zorb doesn't.
Comment 8 Platonides 2007-10-09 13:05:12 UTC
When you edit a page, the server send a message to the squids asking them to discard their copy. Seems it's not being done for pages redirected to it.
Comment 9 Derk-Jan Hartman 2011-12-05 15:04:35 UTC
See also bug 24575 ???
Comment 10 matanya 2012-07-30 19:51:12 UTC
wasn't updated for a long time and I failed to reproduce. works for me.
Comment 11 Ost316 2012-07-31 16:11:50 UTC
Did you edit the page first? It typically happens after an edit. And it also has seemed to be different if logged in as registered user.
Comment 12 Bawolff (Brian Wolff) 2012-07-31 19:01:12 UTC
(In reply to comment #11)
> Did you edit the page first? It typically happens after an edit.

Well that is typically the point where pages become stale.

> And it also
> has seemed to be different if logged in as registered user.

Well given this bug is about squid cache, which is totally bypassed by logged in users, this is to be expected.

----

Ost316: Has this been specificly happening to you in the near term (like in the last month), otherwise I think this bug should be closed. (In all probability, since 2007 we have probably had multiple instances of squid purging being broken then fixed again)
Comment 13 Ost316 2012-08-07 17:37:13 UTC
I don't often browse or edit logged out, but it definitely has been since 2009 that I last saw the error. And it was more than just a few minutes old. It seems to be a bug that isn't always easily repeatable.  The last reference I can remember was in 2011: http://en.wikipedia.org/wiki/Wikipedia_talk:WikiProject_Video_games/Archive_87#The_shortcut_displays_an_older_version_of_this_page Perhaps it has been fixed since then, but it would be nice to have more of a reason than just it not being repeated.
Comment 14 Bawolff (Brian Wolff) 2012-08-07 17:40:11 UTC
Well squid purges are handled via UDP, which is an unreliable protocol. No checks are done to see that the purge packet actually arrived to the destination, so its entirely possible for pages to easily start to fail to purge if Wikimedia's internal network gets overloaded.
Comment 15 MZMcBride 2014-03-23 23:28:31 UTC
Is there anything actionable here?
Comment 16 Bawolff (Brian Wolff) 2014-03-24 01:35:10 UTC
We have since improved monitoring of purging, its quite possible this no longer happening (they still use udp which is unreliable, but packet loss is generally quite low from what i understand.). Anyhow if people are still experiancing this speak up.

Ive heard some people talk about changing the udp to something fancier, which prevent packet loss being an issue. I think there was a discussion on an rfc somewhere. Anyhow a lot of that is beyond my knowladge

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


Navigation
Links