-
Notifications
You must be signed in to change notification settings - Fork 77
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
How to validate buildpack is having an effect #5
Comments
There was a long discussion in mojodna/issues/6 but I don't believe anyone came up with a good answer. The most correct answer would probably involve dropping into C to check if some the jemalloc functions were defined or the lib was loaded (this is beyond my depth). A niece approach would be to check the LD_PRELOAD is being set (below). This won't work if the library doesn't exist (which was an issue before JEMALLOC_ENABLED was an option). /jemalloc/.match?(ENV["LD_PRELOAD"]) |
Okay, thx! |
A good way i found on docker-library/ruby#182 (comment) is using:
If jemalloc is activated it will generate the jemalloc stats overwise it will just exit. |
Just a quick question how to validate the buildpack is in effect. I tried what's suggested in some places:
But this only gives me:
Although the buildpack seems to do something, as I saw a pthread error similar to the one in #3 and had to revert to version 5.0.1 as suggested to make it go away.
The text was updated successfully, but these errors were encountered: