背景:HuaYun_Interface-SLAVE从库每隔一段时间slave复制进程便停掉,zabbix发送告警短信
-
[root@NEW-APP-MYSQL-SLAVE ~]# dmesg
-
Out of memory: Kill process 32289 (mysqld) score 966 or sacrifice child
-
Killed process 32289, UID 498, (mysqld) total-vm:14630648kB, anon-rss:7711284kB, file-rss:360kB
[root@NEW-APP-MYSQL-SLAVE ~]# free -m
total used free shared buffers cached
Mem: 7872 7747 124 0 124 1331
-/+ buffers/cache: 6292 1580
Swap: 2047 56 1991
很明显是linux内存不足而发生了OOM killer现象,没办法,加大主机内存吧