MD-Studio / MDStudio

A general framework for microservice based distributed applications
Apache License 2.0
12 stars 0 forks source link

Redis docker THP warning on OSX 10.11.6 #125

Closed marcvdijk closed 6 years ago

marcvdijk commented 6 years ago

Following warning from the redis docker log on Mac OSX 10.11.6:

60:M 03 May 06:22:50.561 # 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.

pevisscher commented 6 years ago

This is a warning that we cannot easily fix, see https://github.com/docker-library/redis/issues/55 . I don't think that it matters on development builds, and on production you should have a separate redis cluster anyway.