Debugging a Running Server (on Linux)
Explains how to attach debugging tools to a live MariaDB process on Linux systems without restarting the service.
shell> file /usr/sbin/mysqldDebugging Memory Consumption With tcmalloc
HEAPPROFILE=/tmp/mysqld.prof /usr/sbin/mysqld_safe --malloc-lib=tcmalloc --core-file-size=unlimited --core-fileulimit -c unlimted
LD_PRELOAD=/usr/lib64/libtcmalloc.so.4 HEAPPROFILE=/tmp/mysqld.prof /usr/sbin/mysqld --core-fileptrace Protection and Attaching GDB to a mysqld Instance
Debugging a Server That Hangs
Last updated
Was this helpful?

