您当前的位置:首页>news频道>you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with redis. To fix thisissue run the command echo never > /sys/kernel/mm/transparent_hugepage/enabled as root, and add it to your /etc/r

you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with redis. To fix thisissue run the command echo never > /sys/kernel/mm/transparent_hugepage/enabled as root, and add it to your /etc/r

发布时间:2017-08-15 类型: news频道 编辑: 小猪迷

    you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with redis. To fix thisissue 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 thesetting after a reboot. Redis must be restarted after THP is disabled.

    临时解决方法:

    echo never > /sys/kernel/mm/transparent_hugepage/enabled。

    永久解决方法:

    将其写入/etc/rc.local文件中。



  • 没有评论哦,快来抢个沙发吧
小猪迷

                

微信好友

用微信扫描二维码,
加我好友。

微信公众号

用微信扫描二维码,
订阅小猪迷公众号。

234113618

用微信扫描二维码,
加入小猪迷 QQ 群。

you have Transparent Huge Pages (THP) support enabled in your kernel. This will create latency and memory usage issues with redis. To fix thisissue run the command echo never > /sys/kernel/mm/transparent_hugepage/enabled as root, and add it to your /etc/r-小猪迷PHP[xiaozhumi.com]

youhaveTransparentHugePages(THP)supportenabledinyourkernel.Thiswillcreatelatencyandmemoryusageissueswithredis.Tofixthisissuerunthecommandechonever>/sys/kernel/mm/transparent_hugepage/enabledasroot,andaddittoyour/etc/rc.localinordertoretainthesettingafterareboot.RedismustberestartedafterTHPisdisabled.

https://www.xiaozhumi.com/news/110.html