Page MenuHomePhabricator

Some pages are timing out: Maximum execution time of 15 seconds exceeded in extensions/Translate/messagegroups/AggregateMessageGroup.php on line 171
Closed, ResolvedPublic


Since we switched from HHVM to PHP, this has been happening frequently. Initially seen on API messagecollection for group=core-0-mostused, now also reported for

Event Timeline

Restricted Application added a subscriber: Aklapper. · View Herald TranscriptMar 26 2018, 1:23 PM
Nikerabbit triaged this task as High priority.Mar 26 2018, 1:23 PM
revi added a subscriber: revi.Mar 26 2018, 1:24 PM

Change 423705 had a related patch set uploaded (by Nikerabbit; owner: Nikerabbit):
[mediawiki/extensions/Translate@master] Optimize AggregateMessageGroup::getKeys

I cherry-picked and deployed the patch on createMessageIndex.php is now taking ~7 s and the URLs from the slowlog are now responding quickly.

Change 423705 merged by jenkins-bot:
[mediawiki/extensions/Translate@master] Optimize AggregateMessageGroup::getKeys

Nikerabbit moved this task from In Review to Done on the Language-2018-Apr-June board.

I am moving this directly to done, because I have been using this patch in without issues.

Nikerabbit closed this task as Resolved.Apr 6 2018, 3:01 PM