我们正在使用最新的Redis Docker并发现我们定期超时(过去4小时内有12次)。
错误是这样的:
Timeout performing PING, inst: 51, mgr: ExecuteSelect, queue: 3, qu=0, qs=3, qc=0, wr=0/0, in=0/1
Timeout performing PING, inst: 51, mgr: ExecuteSelect, queue: 4, qu=0, qs=4, qc=0, wr=0/0, in=28/0
Timeout performing GET Prod.Cust.Agent.118, inst: 100, mgr: ProcessReadQueue, queue: 3, qu=0, qs=3, qc=0, wr=0/0, in=630/1
使用Redis(http://redis.io/topics/latency)查看延迟超时的帮助我想知道如果需要更改任何设置:
a. the docker
b. the server running the docker
例如: 帮助表明:
Transparent huge pages must be disabled from your kernel. Use echo never > /sys/kernel/mm/transparent_hugepage/enabled to disable them, and restart your Redis process.
这应该在docker或Server上完成吗?
当我检查服务器上的值时,我得到:
jhilden@Omega:~$ more /sys/kernel/mm/transparent_hugepage/enabled
[always] madvise never
提前感谢您的建议。