Bug #114880 | hang bug in mysql NDB cluster | ||
---|---|---|---|
Submitted: | 4 May 2024 13:43 | Modified: | 7 May 2024 12:53 |
Reporter: | CunDi Fang | Email Updates: | |
Status: | Unsupported | Impact on me: | |
Category: | MySQL Cluster: Cluster (NDB) storage engine | Severity: | S2 (Serious) |
Version: | 8.0.35-cluster MySQL Cluster Community S | OS: | Any |
Assigned to: | MySQL Verification Team | CPU Architecture: | Any |
[4 May 2024 13:43]
CunDi Fang
[7 May 2024 8:31]
MySQL Verification Team
This does not look like a bug but unsupported type of query for ndbcluster. During execution of this query - what is your cpu load on the nodes - what is your network load - what does your logs state Thanks
[7 May 2024 12:53]
CunDi Fang
Ok, I repeat again and here are the cpu load on the node. Before I start the sql: ``` 15900 mysql 20 0 2762692 400112 36864 S 1.3 0.0 0:03.75 mysqld 15975 root 20 0 1563572 1.3g 2048 S 1.0 0.1 0:02.88 ndbd 1 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.04 bash 13 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 24 root 20 0 240796 4096 4096 S 0.0 0.0 0:08.28 fish 161 root 20 0 15428 6144 6144 S 0.0 0.0 0:00.02 sshd 12617 root 20 0 36272 8192 8192 T 0.0 0.0 0:00.04 mysql 15387 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 15399 root 20 0 7584 2048 2048 R 0.0 0.0 0:00.25 top 15554 root 20 0 2888 0 0 S 0.0 0.0 0:00.02 mysqld_safe 15836 root 20 0 36272 8192 8192 T 0.0 0.0 0:00.02 mysql 15974 root 20 0 25200 4228 2048 S 0.0 0.0 0:00.01 ndbd 16294 root 20 0 36272 8192 8192 S 0.0 0.0 0:00.02 mysql ``` When I start the sql: ``` PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 15900 mysql 20 0 2762692 402160 36864 S 101.7 0.0 0:10.42 mysqld 15975 root 20 0 1563572 1.3g 2048 S 1.0 0.1 0:03.43 ndbd 1 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.04 bash 13 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 24 root 20 0 240796 4096 4096 S 0.0 0.0 0:08.28 fish 161 root 20 0 15428 6144 6144 S 0.0 0.0 0:00.02 sshd 12617 root 20 0 36272 8192 8192 T 0.0 0.0 0:00.04 mysql 15387 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 15399 root 20 0 7584 2048 2048 R 0.0 0.0 0:00.29 top 15554 root 20 0 2888 0 0 S 0.0 0.0 0:00.02 mysqld_safe 15836 root 20 0 36272 8192 8192 T 0.0 0.0 0:00.02 mysql 15974 root 20 0 25200 4228 2048 S 0.0 0.0 0:00.02 ndbd 16294 root 20 0 36272 8192 8192 S 0.0 0.0 0:00.02 mysql ``` It is stuck and never gets over it, even after 10 mins. ``` PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17300 mysql 20 0 2893760 397824 36864 S 101.3 0.0 10:07.81 mysqld 16998 root 20 0 1563572 1.3g 4096 S 1.0 0.1 0:09.07 ndbd 15399 root 20 0 7584 2048 2048 R 0.3 0.0 0:01.20 top 1 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.04 bash 13 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 24 root 20 0 240856 4096 4096 S 0.0 0.0 0:08.52 fish 161 root 20 0 15428 6144 6144 S 0.0 0.0 0:00.02 sshd 15387 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 16997 root 20 0 25200 4228 2048 S 0.0 0.0 0:00.16 ndbd 17086 root 20 0 2888 0 0 S 0.0 0.0 0:00.02 mysqld_safe 17382 root 20 0 36272 8192 8192 S 0.0 0.0 0:00.02 mysql ``` I have to ues "KILL -9" to stop mysqld. ``` ^C^C -- query aborted ^C^C -- query aborted ^Zfish: Job 1, 'mysql -uroot -proot' has stopped PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND 17300 mysql 20 0 2894792 397824 36864 S 100.7 0.0 11:08.59 mysqld 16998 root 20 0 1563572 1.3g 4096 S 1.0 0.1 0:09.75 ndbd 1 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.04 bash 13 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 24 root 20 0 240856 4096 4096 S 0.0 0.0 0:08.52 fish 161 root 20 0 15428 6144 6144 S 0.0 0.0 0:00.02 sshd 15387 root 20 0 4624 2048 2048 S 0.0 0.0 0:00.02 bash 15399 root 20 0 7584 2048 2048 R 0.0 0.0 0:01.23 top 16997 root 20 0 25200 4228 2048 S 0.0 0.0 0:00.17 ndbd 17086 root 20 0 2888 0 0 S 0.0 0.0 0:00.02 mysqld_safe 17382 root 20 0 36272 8192 8192 T 0.0 0.0 0:00.02 mysql ```