Page MenuHomePhabricator

Wikidata pages hang for about 10 seconds with a spinner and broken layout
Closed, ResolvedPublic

Description

Screenshot of hanging screen

Opening a page like https://www.wikidata.org/wiki/Q19837 takes around 10 seconds to appear.

The initial HTML and any request in particular seems quick, but something somehow is causing it to hang for roughly 10 seconds during which a spinner is visible on the page, and the html layout is incomplete (causing the white/blue Vector skin content container to be collapsed through the partially loaded content).

After those 10 seconds the page ready event fires and then the remaining resources are all loaded quickly and appear at once without any visible delay or build up.

I've captured a network graph (attached) and can't figure out what is causing it to hang for so long. There are no pending or blocking requests during that time. After the first 100-200ms burst, it just idles for 10 seconds, and then it continues and loads everything at once within another 100-200ms burst, mostly just regular 304s, nothing out of the ordinary.

Tried both logged-in and logged-out, as well as in Chrome Incognito, caching not disabled, hits are mostly 304s and the hanging is still there, even after a soft refresh.

In the screenshot you can see it showing "Establishing secure connection", however that is not consistent. The message shown during those 10 seconds is sometimes "Waiting for upload.wikimedia.org...", sometimes "Waiting for bits.wikimedia.org...", sometimes "Waiting for meta.wikimedia.org.." and sometimes "Establishing secure connection". None of these seem to be more common during those 10 seconds, but whichever it is, that message is shown for the full 10 seconds.


Version: wmf-deployment
Severity: normal

Attached:

Screen_Shot_2014-01-15_at_21.08.53.png (1×3 px, 372 KB)

Details

Reference
bz60102

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 2:57 AM
bzimport set Reference to bz60102.
bzimport added a subscriber: Unknown Object (MLST).

Created attachment 14321
Network graph

Attached:

Screen_Shot_2014-01-15_at_21.19.25.png (2×2 px, 1 MB)

Bug 59996 marked as dup of bug 54098 comment 6 hence doing the same

  • This bug has been marked as a duplicate of bug 54098 ***