You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.
I notice the Docker images use /usr/lib/%s-linux-gnu/libjemalloc.so.2 as their path for the jemalloc library — I notice that has version 2 at the end whilst yours has version 1.
I suspect (but can't promise to be true) that your, older, version of jemalloc doesn't support these stats.
You'll probably be missing out on jemalloc-specific metrics (#9882), but that might not be the end of the world for you.
Maybe we 'should' be only logging the warning once and then stopping, or perhaps we should check that the loaded jemalloc is of version 2 before starting the metrics for jemalloc (if this is indeed the reason).
I note your distro is out of active support now, so the best option for you may be to update at some point and install jemalloc2, sorry.
reivilibre
changed the title
Failed to call mallctl with metrics and jemalloc enabled
Failed to call mallctl with metrics and jemalloc (version 1) enabled
Sep 1, 2021
I was using libjemalloc.so.1 because that's what the brief instructions in the README mention. However I just compiled and installed the latest version of jemalloc and the warning is no longer present.
I assume the version of jemalloc provided by the Ubuntu package either doesn't support the stats or it was compiled without support.
Description
My logs are full of the following warnings
Steps to reproduce
LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1
The server and metrics appear to still be working properly so I'm not sure what the impact of this warning is.
Version information
If not matrix.org:
Version: 1.41.1
Install method: matrix.org Debian package repository
OS: Ubuntu 18.04.5 LTS
Virtualized: Yes
The text was updated successfully, but these errors were encountered: