Page MenuHomePhabricator

ERR_READ_TIMEOUT when editing page with table with 1000 entries
Open, MediumPublic

Description

BugZilla Author: sertan2003
MediaWiki Version: 1.22.0
Platform: PC
Description:

Can't update the content of page http://uk.wikipedia.org/wiki/Вікіпедія:Статті,_які_повинні_бути_в_усіх_вікіпедіях/stat
since 28 august.

after pressing "Save" button I see a message about error.

Details

Reference
bz55735

Event Timeline

bzimport raised the priority of this task from to Medium.Nov 22 2014, 2:35 AM
bzimport set Reference to bz55735.
bzimport added a subscriber: Unknown Object (MLST).

Thanks for taking the time to report this!

Please provide the error message that you receive. For general information, also see https://www.mediawiki.org/wiki/How_to_report_a_bug

Alright, I can reproduce:

Request: POST http://uk.wikipedia.org/w/index.php?title=%D0%92%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F:%D0%A1%D1%82%D0%B0%D1%82%D1%82%D1%96,_%D1%8F%D0%BA%D1%96_%D0%BF%D0%BE%D0%B2%D0%B8%D0%BD%D0%BD%D1%96_%D0%B1%D1%83%D1%82%D0%B8_%D0%B2_%D1%83%D1%81%D1%96%D1%85_%D0%B2%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F%D1%85/stat&action=submit, from 208.80.152.18 via sq72.wikimedia.org (squid/2.7.STABLE9) to 208.80.152.70 (208.80.152.70)
Error: ERR_READ_TIMEOUT, errno [No Error] at Tue, 15 Oct 2013 15:30:45 GMT

I wonder how many templates are used on that page, and if they use Lua.

I had a look at the parser measurement included in each rendered page's source code:

NewPP limit report
Parsed by mw1086
CPU time usage: 7.892 seconds
Real time usage: 8.483 seconds
Preprocessor visited node count: 399/1000000
Preprocessor generated node count: 3180/1500000
Post‐expand include size: 19211/2048000 bytes
Template argument size: 0/2048000 bytes
Highest expansion depth: 2/40
Expensive parser function count: 0/500

Does not look critical in any way.

My observation on large pages is that the edit & save is done correctly, but the rendering of the altered page back to the browser fails due to time limits. So refreshing the page after a while will show the changed content.

https://uk.wikipedia.org/wiki/%D0%92%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F:%D0%A1%D1%82%D0%B0%D1%82%D1%82%D1%96,_%D1%8F%D0%BA%D1%96_%D0%BF%D0%BE%D0%B2%D0%B8%D0%BD%D0%BD%D1%96_%D0%B1%D1%83%D1%82%D0%B8_%D0%B2_%D1%83%D1%81%D1%96%D1%85_%D0%B2%D1%96%D0%BA%D1%96%D0%BF%D0%B5%D0%B4%D1%96%D1%8F%D1%85/stat?forceprofile=true (rendering the page, not editing it) has in the source code:

100.00% 0.305662 1 - -total
89.82% 0.274549 1 - MediaWiki::main
61.48% 0.187923 1 - OutputPage::output
59.34% 0.181377 1 - Output-skin
59.28% 0.181209 1 - SkinTemplate::outputPage
42.97% 0.131342 1 - SkinTemplate::prepareQuickTemplate
24.05% 0.073509 1 - MediaWiki::performRequest
22.00% 0.067248 1 - MediaWiki::performAction
21.62% 0.066086 1 - Article::view
20.77% 0.063496 1 - SkinTemplate::prepareQuickTemplate-stuff5
17.30% 0.052869 254 - MessageCache::get
15.79% 0.048271 1 - SkinTemplate::outputPage-execute
13.16% 0.040237 1 - SkinTemplate::prepareQuickTemplate-stuff4
11.89% 0.036358 44 - Linker::titleAttrib

8.89% 0.027171     23 - MemcachedPeclBagOStuff::get
7.85% 0.023984      1 - SkinTemplate::prepareQuickTemplate-stuff2