zoukankan      html  css  js  c++  java
  • 查文件大小列表 MySQL问题

    du -sh /* | sort -nr

    打开网站发现Too many connections

    The server quit without updating PID file (/usr/local/mysql/var/iZ23eflcmoiZ

    重启lnmp报错

    mysql的日志满了

    df查看发现硬盘满了

    redis问题/usr/log/redis/redis.log

    redis启动日志的警告提示

    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.

    警告:过量使用内存设置为0!在低内存环境下,后台保存可能失败。为了修正这个问题,请在/etc/sysctl.conf 添加一项 'vm.overcommit_memory = 1' ,然后重启(或者运行命令'sysctl vm.overcommit_memory=1' )使其生效。

     还有一个条提示

    "Short read or OOM loading DB. Unrecoverable error, aborting now.“

    解决办法

    rm -rf /var/lib/redis/dump.rdb
    rm -rf /var/run/redis.pid
    service redis start
  • 相关阅读:
    tree
    mkdir
    touch
    rename
    dirname
    vue之导入Bootstrap以及jQuery的两种方式
    Vue组件系统
    报错:ERROR! The server quit without updating PID file (/usr/local/var/mysql/chenyuntekiMacBook-Air.local.pid).
    Linux命令
    Vue知识点小总结1
  • 原文地址:https://www.cnblogs.com/qiandu/p/4979781.html
Copyright © 2011-2022 走看看