Two mysql instances (5.6.20) in two docker containers (1.8.32), master and slave create semi-synchronous replication with each other, then users usually execute dml or ddl, which work mainly.
after ten days or more, all clients that connect to the slave will hang
gdb -p / strace slave mysqld freezes
pstack / perf top -p slave mysqld process shows nothing
kill -9 will not kill the mysqld process
stop docker won't stop docker container
What tools or methods can help find the problem?
source
share