VPS侦探论坛

 找回密码
 注册
查看: 2861|回复: 2

mysql突然崩了,然后重启一下好了

[复制链接]
发表于 2017-8-27 11:31:43 | 显示全部楼层 |阅读模式

军哥,可以帮帮看看什么原因.谢谢

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2017-8-28 08:22:29 | 显示全部楼层


2017-08-26T05:53:08.079147Z 0 [Note] InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-08-26T05:53:08.079218Z 0 [ERROR] InnoDB: mmap(137428992 bytes) failed; errno 12
2017-08-26T05:53:08.079249Z 0 [ERROR] InnoDB: Cannot allocate memory for the buffer pool
2017-08-26T05:53:08.079260Z 0 [ERROR] InnoDB: Plugin initialization aborted with error Generic error
2017-08-26T05:53:08.079276Z 0 [ERROR] Plugin 'InnoDB' init function returned error.
2017-08-26T05:53:08.079285Z 0 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-26T05:53:08.079291Z 0 [ERROR] Failed to initialize plugins.
2017-08-26T05:53:08.079295Z 0 [ERROR] Aborting

应该是内存不足,导致的
可以调小/etc/my.cnf 中的 innodb_buffer_pool_size 参数看看是否影响当前业务
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2017-8-28 10:52:06 | 显示全部楼层

回复 2# 的帖子


谢谢军哥.谢谢军哥..
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-9-25 11:12 , Processed in 0.026418 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表