WARNING you have Transparen Huge Pages..解决

 时间:2024-10-30 09:03:11

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

WARNING you have Transparen Huge Pages..解决

2、警告:WARNING you have Transparent Huge Pages (THP) support enable颊俄岿髭d 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.这个警报已经给出了解决方法,解决延迟和内存的使用问题

WARNING you have Transparen Huge Pages..解决

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

WARNING you have Transparen Huge Pages..解决

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

WARNING you have Transparen Huge Pages..解决

5、对于上一篇补充:如果解决永久内存需写入etc/sysctl.conf里面

WARNING you have Transparen Huge Pages..解决

6、这样就OK了

WARNING you have Transparen Huge Pages..解决
  • Centos 安装cmake 方法
  • 绘制网络拓扑流程图操作方法
  • Linux系统时区修改
  • centos操作系统共享文件设置
  • 使用命令行查看本地用户组的方法
  • 热门搜索
    腿不直怎么办 鱼是怎么睡觉的 微信视频聊天怎么开美颜 经常头痛是怎么回事 感冒怎么好的快 闺蜜用英语怎么说 怎么设置自动回复 怎么去雷神岛 吉利车怎么样 户籍所在地怎么填