I want to detect database deadlock event in my Magento2 (2.3.2) store. Based on that I want to send email to higher authority persons to let them know about deadlock instantly.

Any help would be appreciated.



After lot of googling, I found below extension which I also modified little bit according to my project requirements:


Anyone can use it to detect database deadlock events on their projects. If you have queries related to this you may ask me in comment section.


  • Just be aware that if you've got a deadlock by continually retrying you could end up with more deadlocks. But if it's just detection maybe you should put it up on github – Dominic Xigen Apr 14 '20 at 18:46
  • Hello @DominicXigen, Yes this was actually deadlock retry module which I used as deadlock detection by modifying some module code as per my requirements. – Pratik Navapara Apr 15 '20 at 5:32

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.