Using the 'show engine innodb status' I see that wordpress has two deadlocks ... Suggestions on how to resolve this?
I thought that I would provide additional information that would help us solve a similar problem. We have seen Java hibernation issues causing lockable locks. We detected locks by combing the output through:
show engine innodb status;
It spills out all the information. The corresponding section is in the TRANSACTIONS section. The issue is important in your release:
3 lock struct(s), heap size 1248, 2 row lock(s) MySQL thread id 12505095, query id 909492789 juno....edu 129.....54
For us, it was # lock struct(s) , which pointed to a stuck lock. To kill it, you need to execute using the specified "thread id #" - in this case:
kill 12505095
This worked on AWS MySQL RDS, as well as on local MySQL.
In our section "OPERATIONS" we also see the following:
---TRANSACTION 644793773, ACTIVE 21 sec 2 lock struct(s), heap size 360, 1 row lock(s) MySQL thread id 217, OS thread handle 0x2aef097700, query id 10177 1.3.5.7 mpsp cleaning up
We are looking for messages 2 lock struct(s) and ACTIVE 21 sec .
Gray Sep 08 '16 at 18:26 2016-09-08 18:26
source share