2
上のUbuntu 16.04のためのovercommit_memoryと透明な巨大なページ上のRedisの警告の解決警告がそうのように表示されます。は、新鮮なUbuntuの16.04 EC2インスタンスでEC2
WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add 'vm.overcommit_memory = 1' to /etc/sysctl.conf and then reboot or run the command 'sysctl vm.overcommit_memory=1' for this to take effect.
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.
永久にそれらを排除するためにどのように?
単に警告を危険にするだけですか?低メモリ状態で「バックグラウンド・セーブ」が失敗することはいつ望ましいでしょうか?盲目的に 'vm.overcommit_memory = 1'を設定するのは問題がありますか? –