zoukankan      html  css  js  c++  java
  • 孙大头头头-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

  • 相关阅读:
    vmware 网络连接
    【剑指offer】设置在最小数目的阵列
    动画语音输入和文字输入开关
    Qt 如何处理拖放应用程序参数时,中国
    C#
    dojo的TabContainer添加ContentPane假设closable,怎么不闭幕后予以销毁ContentPane
    剑指XX(游戏10)
    PHP的MySQL扩张:MySQL数据库概述
    所谓策略,我站在旁边看今天 神刻的样子O2O
    两个新事物
  • 原文地址:https://www.cnblogs.com/renguiyouzhi/p/14799612.html
Copyright © 2011-2022 走看看