Last modified: 2013-12-10 17:30:51 UTC

Wikimedia Bugzilla is closed!

Wikimedia has migrated from Bugzilla to Phabricator. Bug reports should be created and updated in Wikimedia Phabricator instead. Please create an account in Phabricator and add your Bugzilla email address to it.
Wikimedia Bugzilla is read-only. If you try to edit or create any bug report in Bugzilla you will be shown an intentional error message.
In order to access the Phabricator task corresponding to a Bugzilla report, just remove "static-" from its URL.
You could still run searches in Bugzilla or access your list of votes but bug reports will obviously not be up-to-date in Bugzilla.
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)
All All
: Normal normal (vote)
: ---
Assigned To: Nobody - You can work on this!
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: ---

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

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, from via cp1053 frontend ([]:80), Varnish XID 165009938
Forwarded for:,
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.