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

Redis: Fix kernel configuration warning #65

Closed
denudge opened this issue Nov 7, 2016 · 2 comments
Closed

Redis: Fix kernel configuration warning #65

denudge opened this issue Nov 7, 2016 · 2 comments
Labels

Comments

@denudge
Copy link

denudge commented Nov 7, 2016

After creating a redis container, the following warning is displayed:

WARNING you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with Redis. To fix this issue run the command 'echo never > /sys/kernel/mm/transparent_hugepage/enabled' as root, and add it to your /etc/rc.local in order to retain the setting after a reboot. Redis must be restarted after THP is disabled.

@luispabon
Copy link
Contributor

👍

@luispabon luispabon added the bug label Nov 7, 2016
@luispabon
Copy link
Contributor

After some investigation, turns out this needs doing on the host, not within the container:

redis/docker-library-redis#55

Looks unavoidable.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants