Last modified: 2014-10-27 12:55:01 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 T59677, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 57677 - 504 Gateway Time-out when modifying big articles in the Galician wikipedia
504 Gateway Time-out when modifying big articles in the Galician wikipedia
Status: NEW
Product: Wikimedia
Classification: Unclassified
General/Unknown (Other open bugs)
wmf-deployment
All All
: Low major (vote)
: ---
Assigned To: Nobody - You can work on this!
: performance
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-11-27 20:02 UTC by elisardopr
Modified: 2014-10-27 12:55 UTC (History)
4 users (show)

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


Attachments

Description elisardopr 2013-11-27 20:02:36 UTC
In the Galician wikipedia  when somebody tries  to modify a big article, like https://gl.wikipedia.org/wiki/SIDA or https://gl.wikipedia.org/wiki/The_Beatles, always gives back a time-out error although the modification realises properly. We do not have neither idea of what could be the problem but it happens with all the articles that have a big size.
Comment 1 Andre Klapper 2013-11-27 21:33:08 UTC
Thanks for taking the time to report this!

Could you please paste the exact, complete error here?
Comment 2 Andre Klapper 2013-11-27 21:34:30 UTC
Might be bug 57499.
Comment 3 Jesús Martínez Novo (Ciencia Al Poder) 2013-11-27 21:43:30 UTC
Reproducible doing a null edit on https://gl.wikipedia.org/wiki/The_Beatles

The error message is a plain white page, with centered text:


        504 Gateway Time-out

_______________________________________

           nginx/1.1.19



The page takes about 115 seconds to display this error page.

The HTML source of the page (when viewed, not the error page) displays the following:

NewPP limit report
Parsed by mw1108
CPU time usage: 29.902 seconds
Real time usage: 30.281 seconds
Preprocessor visited node count: 219514/1000000
Preprocessor generated node count: 107588/1500000
Post‐expand include size: 954440/2048000 bytes
Template argument size: 263746/2048000 bytes
Highest expansion depth: 14/40
Expensive parser function count: 0/500
Lua time usage: 0.004s
Lua memory usage: 492 KB

Note the 30 seconds time to parse the page.
Comment 4 Bawolff (Brian Wolff) 2013-11-28 02:30:11 UTC
At first glance, it would seem like a lot of the time is spent rendering Modelo:Obra_citada/núcleo. Optimizing that template may help to reduce the problem.
Comment 5 Bawolff (Brian Wolff) 2013-11-28 02:43:36 UTC
(In reply to comment #4)
> At first glance, it would seem like a lot of the time is spent rendering
> Modelo:Obra_citada/núcleo. Optimizing that template may help to reduce the
> problem.

Additionally, enwikipedia has spent a lot of effort optimizing their cite template ( [[template:Citation]] and [[Module:Citation/CS1]] ), perhaps that work could be copied over/adapted by gl.wikipedia.org
Comment 6 Andre Klapper 2013-11-30 15:17:11 UTC
elisardopr: Is comment 5 an option (copy Citation improvement over)?
Comment 7 elisardopr 2013-12-12 18:33:23 UTC
(In reply to comment #6)
> elisardopr: Is comment 5 an option (copy Citation improvement over)?

I'll try to adapt that changes to gl.wiki, I'll post the result.
Comment 8 Andre Klapper 2014-02-27 16:28:16 UTC
(In reply to elisardopr from comment #7)
> I'll try to adapt that changes to gl.wiki, I'll post the result.

elisardopr: Any news?
Comment 9 elisardopr 2014-02-28 08:15:28 UTC
No, I tried to adapt the changes but I didn't make it work, and in past months I was too busy to review the problem. This is an item in my to-do list...
Comment 10 Andre Klapper 2014-05-12 21:06:51 UTC
(In reply to elisardopr from comment #7)
> I'll try to adapt that changes to gl.wiki, I'll post the result.

elisardopr: Status update welcome.
Comment 11 Andre Klapper 2014-07-05 21:32:18 UTC
(In reply to elisardopr from comment #7)
> I'll try to adapt that changes to gl.wiki, I'll post the result.

elisardopr: Status update welcome.
Comment 12 Toliño 2014-07-10 16:17:00 UTC
I'm taking this task. I'll post any progress.
Comment 13 Toliño 2014-07-10 17:29:51 UTC
First of all, I have reviewed "Modelo:Obra_citada/núcleo" template: except from the translated lines, the code is the exact same as the English Wikipedia version.

After that, I have performed one simple test: I made a null edit in "The Beatles" article in both English and Galician Wikipedia at the same time. English Wikipedia won (about 35 seconds between the two; English article is sightly shorter), but it spent a lot of time to render the page, though.

My personal conclusion after that: Locally, we can only optimize the involved templates to reduce this issue. Any other idea?

----
Time to load "The Beatles" article when saving the null edit:
* English Wikipedia (144.455 bytes): about 46 seconds.
* Galician Wikipedia (174.805 bytes): about 1 minute and 21 seconds.

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


Navigation
Links