最近遇到一个故障和磁盘满有关系,并且同事也发现经常有磁盘满导致操作hang住无响应的情况,于是抽时间研究了一下这2种情况. 一.磁盘满了之后MySQL会做什么? 我们看下官方的说法 When a disk-full condition occurs, MySQL does the following: * It checks minutes it writes an entry to the log file, warning about the disk-full condition. 其实M…
今天收到监控邮件说博客访问失败.打开页面一看,硕大的502 Bad Gateway,ping了一下VPS发现是通的,SSH连接上去看了下Nginx日志发现没问题,重启lnmp的时候发现Mysql起不来,问题源头基本找到. tail /usr/local/mysql/var/slyar.err 看了一下Mysql的错误日志,意外状况出现…… Disk is full writing './mysql-bin.~rec~' (Errcode: 28). Waiting for someone to…
早上来发现 redis 不能用,报 MISCONF Redis is configured to save RDB snapshots, but it is currently not able to persist on disk. Commands that may modify the data set are disabled, because this instance is configured to report errors during writes if RDB snapsh…
检查ora.crf服务 crsctl stat res ora.crf -init -t 关闭ora.crf服务 crsctl stop res ora.crf -init cd $ORACLE_HOME/crf/db rm *.bdb CHM(ClusterHealth Monitor)服务未关导致crf文件无限增长导致磁盘空间占满 启动ora.crf服务 crsctl start res ora.crf -init…