WARNING you have Transparen Huge Pages..

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了WARNING you have Transparen Huge Pages..相关的知识,希望对你有一定的参考价值。

redis启动警告:

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.

启动redis。 出现警告.....warning

警告: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.这个警报已经给出了解决方法,解决延迟和内存的使用问题

然后我们执行上面给出的解决方案

这样就可以了。如果要永久的话,需要写入/etc/rc.local

进入rc.local,写入进去就可以了

 

 

以上是关于WARNING you have Transparen Huge Pages..的主要内容,如果未能解决你的问题,请参考以下文章

拉取github远程仓库到本地时错误,拉取到空。warning: You appear to have cloned an empty repository.

redis启动后出现"WARNING you have Transparent Huge Pages (THP) support enabled in your kernel"问题

ERROR You have enabled the binary log, but you haven't provided the mandatory server-id

大数据集群ssh登录其他机器失败 RSA host key for zb03 has changed and you have requested strict checking. Host key

[2016-2-17]OMG美语每日笔记-Have you ever been use a dating app?Have you ever been catfished?

英语口语练习 (I'm having whatever you're having)