Last modified: 2012-03-07 08:00:38 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 T36886, the corresponding Phabricator task for complete and up-to-date bug report information.
Bug 34886 - [TestSwarm] "Invalid query: The total number of locks exceeds the lock table size"
[TestSwarm] "Invalid query: The total number of locks exceeds the lock table ...
Status: VERIFIED FIXED
Product: Wikimedia
Classification: Unclassified
Continuous integration (Other open bugs)
unspecified
All All
: High critical (vote)
: ---
Assigned To: Nobody - You can work on this!
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-03-02 05:35 UTC by Krinkle
Modified: 2012-03-07 08:00 UTC (History)
3 users (show)

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


Attachments

Description Krinkle 2012-03-02 05:35:30 UTC
The minutely clean-up cron is currently down:

Normally triggered from cron but can also be triggered from the browser (should only take a few seconds):

  https://integration.mediawiki.org/testswarm/?state=wipe

Response:

  Invalid query: The total number of locks exceeds the lock table size

Query:

  https://github.com/jquery/testswarm/blob/master/logic/wipe.php

Possible related reading:

  https://rackerhacker.com/2010/02/16/mysql-the-total-number-of-locks-exceeds-the-lock-table-size-2/


This clean up is fairly important to the function of the swarm, without it tests that fail or time out for various reasons (i.e. bad browsers, disconnects, magic, ..) don't get wiped and don't get re-run in another client.

Probably the query is to blame, but perhaps the default size can be increased if reasonable still (as a short term fix)
Comment 1 Krinkle 2012-03-05 20:00:50 UTC
upstream: https://github.com/jquery/testswarm/issues/112

Suggested short term fix: Re-install TestSwarm (that is, drop the database tables and re-install from the sql file). Only thing to remember is to create a 'MediaWiki' user afterwards and update fetcher.ini in production to reflect the new authtoken.
Comment 2 Antoine "hashar" Musso (WMF) 2012-03-05 21:25:17 UTC
short term fix is to raise innodb_buffer_pool_size to some value bigger than the default 8M. The request is tracked with RT https://rt.wikimedia.org/Ticket/Display.html?id=2574
Comment 3 Mark A. Hershberger 2012-03-06 16:51:54 UTC
Lowering priority since the immediate issue has been dealt with.
Comment 4 Antoine "hashar" Musso (WMF) 2012-03-06 22:04:47 UTC
It might have magically fixed itself, but so far the innodb_buffer_pool_size variable is still at 8MB
Comment 5 Antoine "hashar" Musso (WMF) 2012-03-07 08:00:07 UTC
Issue fixed by the operation team. A specific mysql configuration snippet has been added in /etc/mysql/conf.d which set the innodb_buffer_pool_size to 256M.

RT ticket has been closed.

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


Navigation
Links