Page MenuHomePhabricator

HTTP 500 while submitting specific page on zh.wp
Closed, InvalidPublic

Description

The source code I tried to submit to [[w:zh:中华人民共和国四川省乡级以上行政区列表]]

When I attempt to submit some pages (for example, [[w:zh:中华人民共和国四川省乡级以上行政区列表]], changing all the 'main|' in the source into ':' so that the article would be displayed as a whole), the server always response in 500, and the change is not successfully submitted. The testcase is in the attachment. Hope this can be fixed soon.

Best regards.


Version: unspecified
Severity: major
URL: http://zh.wikipedia.org/wiki/Wikipedia:%E4%BA%92%E5%8A%A9%E5%AE%A2%E6%A0%88/%E6%B1%82%E5%8A%A9#.E4.B8.AD.E5.8D.8E.E4.BA.BA.E6.B0.91.E5.85.B1.E5.92.8C.E5.9B.BD.E5.9B.9B.E5.B7.9D.E7.9C.81.E4.B9.A1.E7.BA.A7.E4.BB.A5.E4.B8.8A.E8.A1.8C.E6.94.BF.E5.8C.BA.E5.88.97.E8.A1.A8

Attached:

Details

Reference
bz20198

Event Timeline

bzimport raised the priority of this task from to Low.Nov 21 2014, 10:46 PM
bzimport set Reference to bz20198.
bzimport added a subscriber: Unknown Object (MLST).

Sorry for making a bad link. probably [[zh:中华人民共和国四川省乡级以上行政区列表]] will work.

Best regards.

zanhsieh wrote:

Same as [[zh:中國發明列表]].

Thanks.

Jimmy / Ming-chin: Is this still a problem nowadays?

Andre,

Currently browsing to [[zh:四川省乡级以上行政区列表]] gives:

Sorry, the servers are overloaded at the moment.
Too many users are trying to view this page. Please wait a while before you try to access this page again.
Timeout waiting for the lock

And by posting the attached content to the Sandbox, squid gives 504 with ERR_READ_TIMEOUT.

How weird. The link works for me (I'm based in Europe), but shows many "Template:PRC admin/navbox <span class="error">Node-count limit exceeded" errors at the bottom.

The page loads in Incognito, but will timeout waiting for the lock when logged-in. Submitting the content however would 504 both logged-in and out.

(Attachment is comment 0 is not usable for testing as it is not UTF-8 encoded.)

Editing https://zh.wikipedia.org/w/index.php?title=%E5%9B%9B%E5%B7%9D%E7%9C%81%E4%B9%A1%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8&action=edit and getting the preview displayed correctly works for me.

But the page takes a long time to render, hence I tried the previous revision at
https://zh.wikipedia.org/w/index.php?title=%E5%9B%9B%E5%B7%9D%E7%9C%81%E4%B9%A1%E7%BA%A7%E4%BB%A5%E4%B8%8A%E8%A1%8C%E6%94%BF%E5%8C%BA%E5%88%97%E8%A1%A8&oldid=16313182&forceprofile=true (as it wasn't in my browser cache). Some templates maybe could be checked for performance:

1091.33% 556.472 114063 - PPFrame_DOM::expand
1025.21% 522.757 45687 - Parser::braceSubstitution
224.90% 114.676 45501 - Parser::braceSubstitution-pfunc
220.33% 112.344 41803 - Parser::callParserFunction
104.73% 53.400 438 - Parser::callParserFunction-pfunc-invoke
104.62% 53.345 438 - ScribuntoHooks::invokeHook
100.00% 50.990 1 - -total
99.94% 50.959 1 - MediaWiki::main
99.56% 50.764 1 - MediaWiki::performRequest
99.56% 50.763 1 - MediaWiki::performAction
99.55% 50.759 1 - Article::view
99.32% 50.644 2 - Parser::parse
98.93% 50.444 1 - Parser::parse-WikitextContent::getParserOutput
97.27% 49.599 2 - Parser::internalParse
95.98% 48.940 809 - Parser::replaceVariables
91.03% 46.417 181 - Parser::braceSubstitution-title-Template:PRC_admin/navbox
84.49% 43.080 182 - Parser::braceSubstitution-title-Template:Navbox
84.24% 42.954 181 - Parser::braceSubstitution-title-Template:PRC_admin/navbox3
81.16% 41.385 45687 - Parser::braceSubstitution-setup
74.90% 38.191 34752 - Parser::callParserFunction-pfunc-if
72.22% 36.825 32 - Parser::braceSubstitution-title-Template:PRC_admin/each
71.47% 36.444 32 - Parser::braceSubstitution-title-Template:PRC_admin/eachcore
36.46% 18.590 40379 - Parser::argSubstitution
24.34% 12.413 489 - Parser::callParserFunction-pfunc-ifexpr
21.07% 10.744 99 - Parser::braceSubstitution-title-Template:PRC_admin/navbox3street
17.67% 9.009 104 - Parser::braceSubstitution-title-Template:PRC_admin/link
15.19% 7.744 338 - Parser::braceSubstitution-title-Template:PRC_admin/fillcode
13.59% 6.927 1 - Parser::braceSubstitution-title-Template:成都市武侯区行政区划
12.97% 6.613 1 - Parser::braceSubstitution-title-Template:成都市金牛区行政区划
12.84% 6.547 1 - Parser::braceSubstitution-title-Template:成都市成华区行政区划
12.82% 6.538 1 - Parser::braceSubstitution-title-Template:成都市锦江区行政区划
12.35% 6.297 1 - Parser::braceSubstitution-title-Template:成都市龙泉驿区行政区划
12.06% 6.151 1 - Parser::braceSubstitution-title-Template:成都市青羊区行政区划
11.94% 6.088 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/07/000/000
11.39% 5.805 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/06/000/000
11.24% 5.732 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/04/000/000
11.24% 5.732 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/08/000/000
10.77% 5.489 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/12/000/000
10.40% 5.302 5 - Parser::braceSubstitution-title-Template:PRC_admin/list/51/01/05/000/000
[...]

The pages mentioned here seem to have been deleted. Are there any current examples of this issue?

In T22198#2992041, @TTO wrote:

The pages mentioned here seem to have been deleted. Are there any current examples of this issue?

@zanhsieh mentioned [[zh:中國發明列表]] same this issue, see https://zh.wikipedia.org/wiki/%E4%B8%AD%E5%9C%8B%E7%99%BC%E6%98%8E ( [[zh:中國發明列表]] now move to [[zh:中國發明]] )

but I test the page, did not find the same problem, maybe a temporary server failure.