Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

jemalloc #944

Closed
oeresundsgruppen opened this issue Feb 7, 2023 · 2 comments
Closed

jemalloc #944

oeresundsgruppen opened this issue Feb 7, 2023 · 2 comments

Comments

@oeresundsgruppen
Copy link

Any chance you can amend docker-build to use jemalloc ?

apt-get install -y --no-install-recommends libjemalloc2
ENV LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.2

@yosifkit
Copy link
Member

yosifkit commented Feb 8, 2023

We'd be unlikely to include or activate it by default with the same reason as docker-library/ruby#182 (comment):

Without an explicit upstream recommendation for using jemalloc by default, I hesitate to make an actual image change here (especially given that there are really functional workarounds that allow users to enable jemalloc in a dependent image without too much trouble).

So, this should be done in your own Dockerfile that is FROM MySQL.

@oeresundsgruppen
Copy link
Author

Sure I can give it a run, and let you know

@tianon tianon closed this as completed Feb 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants