Last modified: 2013-12-10 17:30:51 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 T59499, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57499 - 503 Error when saving a long page with lots of templates on ml.wp
503 Error when saving a long page with lots of templates on ml.wp
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
unspecified
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
https://ml.wikipedia.org/wiki/%E0%B4%...
:
Depends on:
Blocks: 56295
  Show dependency treegraph
 
Reported: 2013-11-24 07:40 UTC by praveenp
Modified: 2013-12-10 17:30 UTC (History)
0 users

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


Attachments
profile info for oldid=1873448 (2.39 KB, text/plain)
2013-11-28 03:06 UTC, Bawolff (Brian Wolff)
Details

Description praveenp 2013-11-24 07:40:14 UTC
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.
Comment 1 Andre Klapper 2013-11-25 12:25:42 UTC
Not much to do here I guess - either splitting the page or converting more templates to use Lua.

Was reminded of bug 40260. Wondering if this is a dup of bug 19262.
Comment 2 praveenp 2013-11-26 13:03:23 UTC
I didn't observe any particular lag on loading or rendering the page while opening the page normally.
Comment 3 Bawolff (Brian Wolff) 2013-11-28 03:06:48 UTC
Created attachment 13925 [details]
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.
Comment 4 praveenp 2013-12-10 17:30:51 UTC
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).

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


Navigation
Links