孙大头头头-redis病了,诊断开始

Posted 再努力点

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了孙大头头头-redis病了,诊断开始相关的知识,希望对你有一定的参考价值。

默认redis配置文件没有配置logfile. 先给它配置上,然后从新启动。让日志告诉你他哪里不舒服

6308:C 22 May 19:31:05.982 # oO0OoO0OoO0Oo Redis is starting oO0OoO0OoO0Oo
6308:C 22 May 19:31:05.982 # Redis version=4.0.9, bits=64, commit=00000000, modified=0, pid=6308, just started
6308:C 22 May 19:31:05.982 # Configuration loaded
6308:M 22 May 19:31:05.983 * Increased maximum number of open files to 10032 (it was originally set to 1024).
                _._                                                  
           _.-``__ \'\'-._                                             
      _.-``    `.  `_.  \'\'-._           Redis 4.0.9 (00000000/0) 64 bit
  .-`` .-```.  ```\\/    _.,_ \'\'-._                                   
 (    \'      ,       .-`  | `,    )     Running in standalone mode
 |`-._`-...-` __...-.``-._|\'` _.-\'|     Port: 6379
 |    `-._   `._    /     _.-\'    |     PID: 6308
  `-._    `-._  `-./  _.-\'    _.-\'                                   
 |`-._`-._    `-.__.-\'    _.-\'_.-\'|                                  
 |    `-._`-._        _.-\'_.-\'    |           http://redis.io        
  `-._    `-._`-.__.-\'_.-\'    _.-\'                                   
 |`-._`-._    `-.__.-\'    _.-\'_.-\'|                                  
 |    `-._`-._        _.-\'_.-\'    |                                  
  `-._    `-._`-.__.-\'_.-\'    _.-\'                                   
      `-._    `-.__.-\'    _.-\'                                       
          `-._        _.-\'                                           
              `-.__.-\'                                               

6308:M 22 May 19:31:05.983 # WARNING: The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128.
6308:M 22 May 19:31:05.983 # Server initialized
6308:M 22 May 19:31:05.984 # WARNING overcommit_memory is set to 0! Background save may fail under low memory condition. To fix this issue add \'vm.overcommit_memory = 1\' to /etc/sysctl.conf and then reboot or run the command \'sysctl vm.overcommit_memory=1\' for this to take effect.
6308:M 22 May 19:31:05.984 # 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.
6308:M 22 May 19:31:35.265 * DB loaded from disk: 29.281 seconds
6308:M 22 May 19:31:35.265 * Ready to accept connections

 警告1:The TCP backlog setting of 511 cannot be enforced because /proc/sys/net/core/somaxconn is set to the lower value of 128. 它说自己不舒服了

诊断:

 

 

 

 

参考老中医:

https://blog.csdn.net/weixin_32457139/article/details/116846420

以上是关于孙大头头头-redis病了,诊断开始的主要内容,如果未能解决你的问题,请参考以下文章

乌鸦头头的角色设定

多线程并发问题解决之redis锁

如何通过单击片段内的线性布局从片段类开始新活动?下面是我的代码,但这不起作用

联想主板诊断卡显示81,这怎么处理?

mysql索引

诊断卡跑过99到A2停留在启动菜单上就不动了..哪位大师帮忙哦!!