Page MenuHomePhabricator

503 Error when saving a long page with lots of templates on ml.wp
Open, NormalPublic

Description

While saving any edit on [[:ml:കേരളത്തിലെ പക്ഷികളുടെ പട്ടിക]], gives a "Wikimedia error" with a message like this

"
Our servers are currently experiencing a technical problem. This is probably temporary and should be fixed soon. Please try again in a few minutes.
If you report this error to the Wikimedia System Administrators, please include the details below.

Request: POST http://ml.wikipedia.org/w/index.php?title=%E0%B4%95%E0%B5%87%E0%B4%B0%E0%B4%B3%E0%B4%A4%E0%B5%8D%E0%B4%A4%E0%B4%BF%E0%B4%B2%E0%B5%86_%E0%B4%AA%E0%B4%95%E0%B5%8D%E0%B4%B7%E0%B4%BF%E0%B4%95%E0%B4%B3%E0%B5%81%E0%B4%9F%E0%B5%86_%E0%B4%AA%E0%B4%9F%E0%B5%8D%E0%B4%9F%E0%B4%BF%E0%B4%95&action=submit, from 208.80.154.76 via cp1053 frontend ([10.2.2.25]:80), Varnish XID 165009938
Forwarded for: 117.231.108.108, 208.80.154.76
Error: 503, Service Unavailable at Sun, 24 Nov 2013 07:30:01 GMT
"

The page is significantly large, and uses some templates repeatedly for formatting purpose. However other wikimedia wikis have larger pages. Although saving gives an error message, page gets saved and can be load separately.


Version: unspecified
Severity: normal
URL: https://ml.wikipedia.org/wiki/%E0%B4%95%E0%B5%87%E0%B4%B0%E0%B4%B3%E0%B4%A4%E0%B5%8D%E0%B4%A4%E0%B4%BF%E0%B4%B2%E0%B5%86_%E0%B4%AA%E0%B4%95%E0%B5%8D%E0%B4%B7%E0%B4%BF%E0%B4%95%E0%B4%B3%E0%B5%81%E0%B4%9F%E0%B5%86_%E0%B4%AA%E0%B4%9F%E0%B5%8D%E0%B4%9F%E0%B4%BF%E0%B4%95
See Also:
https://bugzilla.wikimedia.org/show_bug.cgi?id=57249

Details

Reference
bz57499

Event Timeline

bzimport raised the priority of this task from to Normal.Nov 22 2014, 2:41 AM
bzimport set Reference to bz57499.
bzimport added a subscriber: Unknown Object (MLST).
Praveenp created this task.Nov 24 2013, 7:40 AM
Aklapper added a comment.EditedNov 25 2013, 12:25 PM

Not much to do here I guess - either splitting the page or converting more templates to use Lua.

Was reminded of T42260. Wondering if this is a dup of T21262.

I didn't observe any particular lag on loading or rendering the page while opening the page normally.

Created attachment 13925
profile info for oldid=1873448

(In reply to comment #2)

I didn't observe any particular lag on loading or rendering the page while
opening the page normally.

That's normal. When opening the page normally, you get an old saved (cached) version, instead of the webservers actually rendering the page at the same time as you request it.


Attached is the profiling data I tried to get for that page. Which didn't seem to give much info, on account of a bunch of things appearing to be double counted?!...

The template ഫലകം:കേരളത്തിലെ_പക്ഷികളുടെ_പട്ടിക_-_ഉള്ളടക്കം seemed to represent a quarter of the time spent (6.5 s) - which while still a lot, not really that much. Possibly something to do with parsing image parameter regexes maybe? This bug seems to be much more likely (although I'm still not sure) to be something on our end, as opposed to a get the users to convert the templates to lua type of bug.

Attached:

I just moved some part of the content (36,808 bytes) to a new template for easy editing ([[:ml:ഫലകം:കേപപ]]). While saving the original page [[:ml:കേരളത്തിലെ പക്ഷികളുടെ പട്ടിക]] with including new template, it didn't give that 503 error. It just appeared that error was caused by the 'page size', and not by the repetitive use of templates (infact I just added one more template).