インフラ系SEの技術メモ

雑なエンジニアが低信頼性のメモを書いています。参考程度にとどめてください。

WARNING you have Transparent Huge Pages (THP) support enabled in your kernel.ってなに?

これは

Transparent HugePageというメモリ管理システムがONになってる

ことを指します。

オフの仕方もメッセージに続けて記載があります。

 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.

オフにしないと自動メモリ調整ができないとか。