Last modified: 2013-09-18 20:47:46 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 T55674, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 53674 - CentralNotice saving incredibly slow/timing out
CentralNotice saving incredibly slow/timing out
Status: RESOLVED FIXED
Product: MediaWiki extensions
Classification: Unclassified
CentralNotice (Other open bugs)
unspecified
All All
: High normal (vote)
: ---
Assigned To: Matt Walker
: performance
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2013-09-02 07:28 UTC by James Alexander
Modified: 2013-09-18 20:47 UTC (History)
8 users (show)

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


Attachments

Description James Alexander 2013-09-02 07:28:51 UTC
This has been a bit of an issue for at least a couple months now but feels like it's getting worse. Every time I save a change on a banner (whether I'm adding a message or not) it takes an incredibly long amount of time (Upwards of minutes at times) and sometimes times out completely. For example my most recent save ( https://meta.wikimedia.org/w/index.php?title=MediaWiki:Centralnotice-template-PrivacyPolicyDiscussion_Standard1&diff=prev&oldid=5769136 ) ended in a time out and the error pasted below. As far as I can tell the edit DID save though when I went back to check.


Request: POST http://meta.wikimedia.org/wiki/Special:CentralNoticeBanners/edit/PrivacyPolicyDiscussion_Standard1, from 208.80.154.77 via cp1002.eqiad.wmnet (squid/2.7.STABLE9) to 10.64.0.130 (10.64.0.130)
Error: ERR_READ_TIMEOUT, errno [No Error] at Mon, 02 Sep 2013 07:25:31 GMT
Comment 1 James Alexander 2013-09-02 07:32:01 UTC
yeah, just had another one that took 2 minutes or so to 'save' despite the fact that the save itself seemed to happen essentially right away according to the contributions. I'm assuming it's trying to update something else in the background.
Comment 2 James Alexander 2013-09-02 07:35:36 UTC
Sorry for comment spam. To help narrow down: If adding text a variable that save doesn't take long at all (though it does seem to reload without the text you just saved, making you think it didn't save, but if you refresh you'll see it).
Comment 3 Peter Coombe 2013-09-02 09:24:40 UTC
This is a common occurrence for me too, although I can't recall ever having an actual timeout. Comment 1 rings true, I am often able to view changes to a banner on the live sites (with ?banner=xyz) well before CentralNotice has finished 'saving'.
Comment 4 Matt Walker 2013-09-02 18:44:41 UTC
It's running a translation job in the background... I'll need to move it somewhere else I think.
Comment 5 Matt Walker 2013-09-05 07:49:09 UTC
https://gerrit.wikimedia.org/r/#/c/79184/ will likely fix the symptom but not the problem. (I added a new configuration variable that will allow us to run the translation job async to saving -- but it means that messages will not be immediately available to translate.)
Comment 6 Andre Klapper 2013-09-09 16:20:00 UTC
(In reply to comment #5)
> https://gerrit.wikimedia.org/r/#/c/79184/

Patch got merged. Retesting highly welcome.
Comment 7 Matt Walker 2013-09-09 17:21:45 UTC
We're deploying later today.
Comment 8 Andre Klapper 2013-09-18 16:15:41 UTC
(In reply to comment #7)
> We're deploying later today.

James / Matt: Is this still an issue or can this be closed as RESOLVED FIXED?
Comment 9 Gerrit Notification Bot 2013-09-18 17:21:43 UTC
Change 84676 had a related patch set uploaded by Mwalker:
Cache Banner Message Field Definitions

https://gerrit.wikimedia.org/r/84676
Comment 10 Matt Walker 2013-09-18 17:22:02 UTC
I wish it was resolved :)

We're trying many different things.
Comment 11 Gerrit Notification Bot 2013-09-18 17:35:30 UTC
Change 84676 merged by Adamw:
Cache Banner Message Field Definitions

https://gerrit.wikimedia.org/r/84676

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


Navigation
Links