-
Notifications
You must be signed in to change notification settings - Fork 419
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
RVM install with jemalloc #279
Comments
Hi @prwhitehead, if it helps, this is what we do for our rails monolith:
|
Hello @Gasparila, thank you for taking the time to reply. Have you copied the
|
If you are on latest you'll need to specify full ruby name
Should work |
@Gasparila Thank you so much for your help. I'll check it out and see if I can get it working :) |
@Gasparila I'm following this thread too. I tried out your config, it built fine. However when I try to validate it's using Jemalloc like this:
It doesn't seem to be the case. (I've also installed libjemalloc-dev and also set LD_PRELOAD=/usr/lib/x86_64-linux-gnu/libjemalloc.so.1) Any ideas? @prwhitehead did it work on your end? |
Hmmm ignore, apparently the check is now: MALLOC_CONF=stats_print:true ruby -e "exit" If you see stats ouput, it's working. |
I'm going to close this as it's not something we're going to actively support. |
Hello, I searched your previous issues but couldn't find anything related to this, but I apologise if its the wrong place.
I am dockerizing a large rails app and trying to use Passenger Docker as a base, however I cannot seem to find a way to RVM install ruby with the
-C -with-jemalloc
flag appended.I tried adding
RUN /usr/local/rvm/bin/rvm reinstall ruby-2.6.5 -C -with-jemalloc
after the initialFROM phusion/passenger-ruby26
, however this seems to error when compiling:Is there a flag that can be added or an environment variable that I am unaware of, or is this just something you do not support?
I'll add my full
Dockerfile
for reference below:Thank you in advance,
Paul.
The text was updated successfully, but these errors were encountered: