# Jemalloc installed but not shown as being used  after reboot (RHEL 7.6)

**URL:** <https://forums.percona.com/t/jemalloc-installed-but-not-shown-as-being-used-after-reboot-rhel-7-6/7287>\
**Category:** Percona Server for MySQL 5.7\
**Created:** [November 7, 2019, 10:03am UTC](https://forums.percona.com/t/jemalloc-installed-but-not-shown-as-being-used-after-reboot-rhel-7-6/7287 "2019-11-07T10:03:07Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Roly](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Roly](https://forums.percona.com/u/Roly)\
**Post date:** [November 7, 2019, 10:03am UTC](https://forums.percona.com/t/jemalloc-installed-but-not-shown-as-being-used-after-reboot-rhel-7-6/7287/1 "2019-11-07T10:03:07Z")

</div>

I installed Percona and want to use jemalloc as stated here  
[https://www.percona.com/blog/2017/01/03/enabling-and-disabling-jemalloc-on-percona-server/](https://www.percona.com/blog/2017/01/03/enabling-and-disabling-jemalloc-on-percona-server/)

I rebooted as stated in the instructions, but when the database returns I find its not applied jemalloc

Percona version

I check the status with:  
pt-mysql-summary | grep -A5 -i “memory management”

# pt-mysql-summary | grep -A5 -i “memory management”

# Memory management library

jemalloc is not enabled in mysql config for process with id 12999

# The End

# find / -name “libjemalloc\*”

/usr/lib64/libjemalloc.so.1

So can I find some clues as to why its not being used by Percona ? I need this functionality as this database will be under quite some load.

Thanks!

---

<div class="post-metadata">

**Author:** ![Roly](https://avatars.discourse-cdn.com/v4/letter/r/7c8e57/32.png) [@Roly](https://forums.percona.com/u/Roly)\
**Post date:** [November 11, 2019, 9:42am UTC](https://forums.percona.com/t/jemalloc-installed-but-not-shown-as-being-used-after-reboot-rhel-7-6/7287/2 "2019-11-11T09:42:43Z")

</div>

/etc/sysconfig/mysql should contain  
LD\_PRELOAD=/usr/lib64/libjemalloc.so.1 # Memory management library ################################## jemalloc enabled in mysql config for process with id 17795 Using jemalloc from /usr/lib64/libjemalloc.so.1 # The End ####################################################

---

<div class="post-metadata">

**Author:** ![ziegenberg](https://sea1.discourse-cdn.com/flex019/user_avatar/forums.percona.com/ziegenberg/32/3021_2.png) [@ziegenberg](https://forums.percona.com/u/ziegenberg)\
**Post date:** [August 31, 2022, 12:48pm UTC](https://forums.percona.com/t/jemalloc-installed-but-not-shown-as-being-used-after-reboot-rhel-7-6/7287/3 "2022-08-31T12:48:47Z")

</div>

So did you solve it yourself?
