Last modified: 2014-02-18 15:31:53 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 T63480, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 61480 - commonswiki globalimagelinks table slow
commonswiki globalimagelinks table slow
Status: RESOLVED FIXED
Product: Wikimedia Labs
Classification: Unclassified
Infrastructure (Other open bugs)
unspecified
All All
: Unprioritized major
: ---
Assigned To: Nobody - You can work on this!
: performance
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2014-02-18 08:57 UTC by Magnus Manske
Modified: 2014-02-18 15:31 UTC (History)
3 users (show)

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


Attachments

Description Magnus Manske 2014-02-18 08:57:37 UTC
A simple SQL query that used to run in seconds now hangs around until it fails with a server timeout.

First noticed on 2014-02-17, but may have appeared earlier.

Example query:

SELECT globalimagelinks.* FROM globalimagelinks,page,categorylinks WHERE gil_to=page_title AND cl_from=page_id AND page_namespace=6 AND cl_to IN ('Media_from_Beeld_en_Geluid_Wiki');


Maybe a dropped index somewhere? Or related to the recent nfs fails?
Comment 1 Magnus Manske 2014-02-18 09:27:42 UTC
Update: The query now completed, in 32 minutes. This is still much (!) longer than it used to take.
Comment 2 Magnus Manske 2014-02-18 11:39:35 UTC
Huh. Now it works. Did someone fix it?
Comment 3 Magnus Manske 2014-02-18 11:46:10 UTC
Well, it's broken somewhere else now:

PHP Warning:  mysqli::mysqli(): (HY000/2003): Can't connect to MySQL server on 'commonswiki.labsdb' (110)
Comment 4 Magnus Manske 2014-02-18 13:10:56 UTC
Update: database connection works when script run from shell or webserver; dies with above error when run via jsub.
Comment 5 Magnus Manske 2014-02-18 15:31:53 UTC
Now all works as it should. Self-healing Labs FTW!

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


Navigation
Links