Mysql in docker container

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?

+4
source share
1 answer

. , docker compose mysql , "" mysql . (5.7.16-1debian8)

, , mysql 100 , , . , . VM.

. , ( VM- ). , , mysql .

+2

Source: https://habr.com/ru/post/1661017/


All Articles