Open ahdong2007 opened 2 years ago
ldd sysbench
linux-vdso.so.1 => (0x00007ffcd2da5000)
/$LIB/libonion.so => /lib64/libonion.so (0x00007fe99ed38000)
libmysqlclient.so.18 => /usr/lib64/mysql/libmysqlclient.so.18 (0x00007fe99e71f000)
libpthread.so.0 => /lib64/libpthread.so.0 (0x00007fe99e503000)
libz.so.1 => /usr/local/lib/libz.so.1 (0x00007fe99e2e8000)
libssl.so.10 => /lib64/libssl.so.10 (0x00007fe99e076000)
libcrypto.so.10 => /lib64/libcrypto.so.10 (0x00007fe99dc13000)
libdl.so.2 => /lib64/libdl.so.2 (0x00007fe99da0f000)
libaio.so.1 => /lib64/libaio.so.1 (0x00007fe99d80d000)
libm.so.6 => /lib64/libm.so.6 (0x00007fe99d50b000)
libgcc_s.so.1 => /lib64/libgcc_s.so.1 (0x00007fe99d2f5000)
libc.so.6 => /lib64/libc.so.6 (0x00007fe99cf27000)
libstdc++.so.6 => /lib64/libstdc++.so.6 (0x00007fe99cc1f000)
/lib64/ld-linux-x86-64.so.2 (0x00007fe99ec1f000)
libgssapi_krb5.so.2 => /lib64/libgssapi_krb5.so.2 (0x00007fe99c9d2000)
libkrb5.so.3 => /lib64/libkrb5.so.3 (0x00007fe99c6e9000)
libcom_err.so.2 => /lib64/libcom_err.so.2 (0x00007fe99c4e5000)
libk5crypto.so.3 => /lib64/libk5crypto.so.3 (0x00007fe99c2b2000)
libkrb5support.so.0 => /lib64/libkrb5support.so.0 (0x00007fe99c0a2000)
libkeyutils.so.1 => /lib64/libkeyutils.so.1 (0x00007fe99be9e000)
libresolv.so.2 => /lib64/libresolv.so.2 (0x00007fe99bc84000)
libselinux.so.1 => /lib64/libselinux.so.1 (0x00007fe99ba5d000)
libpcre.so.1 => /usr/local/lib/libpcre.so.1 (0x00007fe99b837000)
I use sysbench to test mysql. intel x86 + centos 7.x sysbench 1.1.0
command I used:
After I rebooted the mysql server, some times after reconnected, some of the working threads stuck at read(libpthread.so.0).
pt-pmp pstack.reboot.log
pstack