码迷,mamicode.com
首页 > 其他好文 > 详细

WARNING you have Transparen Huge Pages..

时间:2017-07-13 10:41:06      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:ble   .com   parent   disabled   create   text   man   reboot   ges   

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..

标签:ble   .com   parent   disabled   create   text   man   reboot   ges   

原文地址:http://www.cnblogs.com/faunjoe88/p/7158490.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!