Jump to content

Deadlock found when trying to get lock; try restarting transaction


Recommended Posts

I see several deadlock errors on IPB's SQL error log. Example:

Date: Wed, 29 Jan 2014 20:09:35 +0000
Error: 1213 - Deadlock found when trying to get lock; try restarting transaction
IP Address: 108.162.212.90 - /topic/527921-como-abrir-arquivos-xls/
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
mySQL query error: DELETE FROM skin_cache WHERE cache_type='css' AND cache_set_id=1 AND cache_value_1='ipb_mlist'
Table skin_cache is already InnoDB.
I don't know how serious this issue is, if I should worry about it, and if there is anything I could do.
We run a MySQL 5.6.16 dedicated server with 32 GB of RAM, which is more than enough for our current needs.
Link to comment
Share on other sites

  • 1 year later...

You get a deadlock when two transactions are trying to lock two locks at opposite orders.

connection 1: locks key(1), locks key(2);

connection 2: locks key(2), locks key(1);

You should check your queries and fix them but it is a complex task if that's your case.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...