Tagged articles
5 articles
Page 1 of 1
dbaplus Community
dbaplus Community
May 16, 2017 · Databases

Why MySQL Hung: A Mutex Deadlock Bug and Its Fix

A MySQL 5.5 server on CentOS 6.7 hung because two internal mutexes (LOCK_index and LOCK_thread_count) deadlocked during concurrent purge binlog and reset master commands, and the issue was resolved by upgrading to a version where the bug is fixed.

deadlockgdbmysql
0 likes · 5 min read
Why MySQL Hung: A Mutex Deadlock Bug and Its Fix
ITPUB
ITPUB
Jan 19, 2017 · Fundamentals

How to Detect and Analyze Linux Deadlocks with pstack and gdb

This article explains what a deadlock is, outlines its four necessary conditions, provides a sample pthread program that deadlocks, and shows step‑by‑step how to use pstack and gdb on Linux to identify the stuck threads and understand the root cause.

deadlockgdbpstack
0 likes · 14 min read
How to Detect and Analyze Linux Deadlocks with pstack and gdb