# MySQL "locking up"

**URL:** <https://forums.percona.com/t/mysql-locking-up/5507>\
**Category:** Other MySQL® Questions\
**Created:** [March 24, 2017, 7:57am UTC](https://forums.percona.com/t/mysql-locking-up/5507 "2017-03-24T07:57:53Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![chrisjack83](https://avatars.discourse-cdn.com/v4/letter/c/6de8d8/32.png) [@chrisjack83](https://forums.percona.com/u/chrisjack83)\
**Post date:** [March 24, 2017, 7:57am UTC](https://forums.percona.com/t/mysql-locking-up/5507/1 "2017-03-24T07:57:53Z")

</div>

I have a server running centos7 and percona 5.6.27. From time to time, it will hang up, meaning that no queries will complete, no show commands will complete, etc. This happens until the server reaches max connections and it will not recover it self. Here is a pt-pmp and a gdb bt of the server in question. Nothing is logged to messages or dmsg.

OS: CentOS Linux release 7.2.1511 (Core)  
Kernel: 3.10.0-327.22.2.el7.x86\_64

output:

(gdb) bt #0 0x00007f0b03bb5b0c in waitpid () from /lib64/libc.so.6 #1 0x0000000000440994 in waitchld.isra.10 () #2 0x0000000000441c4c in wait\_for () #3 0x000000000043392e in execute\_command\_internal () #4 0x000000000046f494 in parse\_and\_execute () #5 0x000000000042f1bb in execute\_builtin.isra.2 () #6 0x0000000000431319 in execute\_simple\_command () #7 0x00000000004326ab in execute\_command\_internal () #8 0x00000000004324c0 in execute\_command\_internal () #9 0x0000000000432782 in execute\_command\_internal () #10 0x0000000000434cbf in execute\_function.isra.7 () #11 0x0000000000431631 in execute\_simple\_command () #12 0x00000000004326ab in execute\_command\_internal () #13 0x00000000004324c0 in execute\_command\_internal () #14 0x0000000000433b5e in execute\_command () #15 0x0000000000432484 in execute\_command\_internal () #16 0x0000000000433b5e in execute\_command () #17 0x0000000000432484 in execute\_command\_internal () #18 0x0000000000433b5e in execute\_command () #19 0x0000000000432484 in execute\_command\_internal () #20 0x0000000000433b5e in execute\_command () #21 0x0000000000432484 in execute\_command\_internal () #22 0x0000000000433b5e in execute\_command () #23 0x0000000000432484 in execute\_command\_internal () #24 0x0000000000433b5e in execute\_command () #25 0x0000000000432484 in execute\_command\_internal () #26 0x0000000000433b5e in execute\_command () #27 0x0000000000433c35 in execute\_while\_or\_until () #28 0x0000000000431fe0 in execute\_command\_internal () #29 0x0000000000433b5e in execute\_command () #30 0x000000000041e285 in reader\_loop () #31 0x000000000041c8ee in main () (gdb) bt^CQuit (gdb) quit A debugging session is active. Inferior 1 [process 26560] will be detached. Quit anyway? (y or n) y Detaching from program: /usr/bin/bash, process 26560 [root@db101-prod /root]# pt-pmp -p 26560 Thu Mar 23 19:54:32 EDT 2017 1 waitpid(libc.so.6),waitchld.isra.10,wait\_for,execute\_command\_internal,parse\_and\_execute,execute\_builtin.isra.2,execute\_simple\_command,execute\_command\_internal,execute\_command\_internal,execute\_command\_internal,execute\_function.isra.7,execute\_simple\_command,execute\_command\_internal,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_command\_internal,execute\_command,execute\_while\_or\_until,execute\_command\_internal,execute\_command,reader\_loop,main
