当系统内存不足时,ubuntu 12.04会终止mysql进程:
Out of memory: Kill process 17074 (mysqld) score 146 or sacrifice child
所以这个过程最终被杀死了.这发生在服务器负载的高峰期,主要是因为apache变得疯狂并且吃剩余的可用内存.可能的方法可能是:
你怎么看?
mysql restart out-of-memory amazon-ec2 ubuntu-12.04
amazon-ec2 ×1
mysql ×1
out-of-memory ×1
restart ×1
ubuntu-12.04 ×1