Home  >  Article  >  Database  >  为什么部署在阿里云上 MySQL 老是因为内存而挂掉,不是个例.

为什么部署在阿里云上 MySQL 老是因为内存而挂掉,不是个例.

WBOY
WBOYOriginal
2016-06-07 16:38:391284browse

mysql5.5 部署在ubuntu上面, mysql 像着魔一样, 每次不到10天就有人报告说网站访问不了. 没去去看,就是mysql停止了. 查看日志: 都是这种, 这是最近的, 说因为内存用完. Aug 3 00:26:19 AY130303163110291612 kernel: [8986665.345763] Out of memory: Kill p

mysql5.5 部署在ubuntu上面, mysql 像着魔一样, 每次不到10天就有人报告说网站访问不了. 没去去看,就是mysql停止了.
查看日志: 都是这种, 这是最近的, 说因为内存用完.
Aug 3 00:26:19 AY130303163110291612 kernel: [8986665.345763] Out of memory: Kill process 10356 (mysqld) score 173 or sacrifice child

512的内存, 难道一下子就用完了? 每次去top命令看一下. 还剩下啊.
Mem: 501892k total, 319980k used, 181912k free, 17640k buffers

但是没隔几天又挂掉了.

今天在v2ex上面看到一哥们跟我的一样. 而且他还发现另外两个人也有这种问题.
http://www.v2ex.com/t/78160#reply18

不知道大家部署遇到这种问题么/

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn