2335867854 发表于 2017-8-27 11:31:43

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

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

licess 发表于 2017-8-28 08:22:29

2017-08-26T05:53:08.079147Z 0 InnoDB: Initializing buffer pool, total size = 128M, instances = 1, chunk size = 128M
2017-08-26T05:53:08.079218Z 0 InnoDB: mmap(137428992 bytes) failed; errno 12
2017-08-26T05:53:08.079249Z 0 InnoDB: Cannot allocate memory for the buffer pool
2017-08-26T05:53:08.079260Z 0 InnoDB: Plugin initialization aborted with error Generic error
2017-08-26T05:53:08.079276Z 0 Plugin 'InnoDB' init function returned error.
2017-08-26T05:53:08.079285Z 0 Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
2017-08-26T05:53:08.079291Z 0 Failed to initialize plugins.
2017-08-26T05:53:08.079295Z 0 Aborting
应该是内存不足,导致的
可以调小/etc/my.cnf 中的 innodb_buffer_pool_size 参数看看是否影响当前业务

2335867854 发表于 2017-8-28 10:52:06

回复 2# 的帖子

谢谢军哥.谢谢军哥..
页: [1]
查看完整版本: mysql突然崩了,然后重启一下好了