Hi
i want to enable jemalloc on MySQL 5.7 on cPanel/WHM server on Centos 7.
i install jemalloc:
after that edit /etc/my.cnf and add:
then restart mysql server from whm. but when i check if jemalloc if enabled using pt-mysql-summary and also using below:
but the result that it is not enabled yet.
how to enable it?
Thanks,
i want to enable jemalloc on MySQL 5.7 on cPanel/WHM server on Centos 7.
i install jemalloc:
Code:
yum list jemalloc
yum install jemalloc.x86_64
after that edit /etc/my.cnf and add:
Code:
[mysqld_safe]
malloc-lib=/usr/lib64/libjemalloc.so.1
Code:
lsof -p $(pidof mysqld) | grep mem
how to enable it?
Thanks,