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

Warning Transparent Huge Pages #184

Closed
privateOmega opened this issue Feb 7, 2019 · 2 comments
Closed

Warning Transparent Huge Pages #184

privateOmega opened this issue Feb 7, 2019 · 2 comments
Labels
question Usability question, not directly related to an error with the image

Comments

@privateOmega
Copy link

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.

I have included redis in my docker compose file with the following settings.

    image: redis
    ports:
      - "6379"
    networks:
      - meraki-network
    deploy:
      replicas: 2
      update_config:
        parallelism: 2
        delay: 10s
      restart_policy:
        condition: on-failure

What can be done to solve this? I am concerned about latency and memory usage issues stated in the warning.

@itamarhaber
Copy link
Member

itamarhaber commented Feb 7, 2019

Hello @privateOmega

Please refer to #19, #35 and #55 for relevant discussions.

@wglambert wglambert added the question Usability question, not directly related to an error with the image label Feb 7, 2019
@yosifkit
Copy link
Contributor

yosifkit commented Feb 7, 2019

Thanks @itamarhaber,
Closing as duplicate.

@yosifkit yosifkit closed this as completed Feb 7, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Usability question, not directly related to an error with the image
Projects
None yet
Development

No branches or pull requests

4 participants