I recently install jemmaloc 3.6.0-11 using apt-get install libjemalloc1

on my ubuntu server 18.04

the installation is succesfull

but when I check using

pt-mysql-summary | grep -A5 -i "memory management"

I get

    Memory management library 
jemalloc is not enabled in mysql config for process with id 89539 The End 

How I can do this ?

I am using Mysql 5.7.26

| improve this question | | | | |

found it

it turned out I need to add a line Environment=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1

in /lib/systemd/system/mysql.service

what a headache hahaha

| improve this answer | | | | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.