LNMP环境下,MYSQL老是宕机,无法重启,ERROR! MySQL server PID file could not be found!
Starting MySQL. ERROR! The server quit without updating PID file (/alidata/server/mysql/data/AY1407131905593450b6Z.pid),云服务器重启后会自动恢复,过段时间又会宕机
mysql错误日志如下:
150215 2:36:11 [Note] Plugin 'FEDERATED' is disabled.
150215 2:36:11 InnoDB: The InnoDB memory heap is disabled
150215 2:36:11 InnoDB: Mutexes and rw_locks use GCC atomic builtins
150215 2:36:11 InnoDB: Compressed tables use zlib 1.2.3
150215 2:36:11 InnoDB: Using Linux native AIO
150215 2:36:11 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
150215 2:36:11 InnoDB: Completed initialization of buffer pool
150215 2:36:11 InnoDB: Fatal error: cannot allocate memory for the buffer pool
150215 2:36:11 [ERROR] Plugin 'InnoDB' init function returned error.
150215 2:36:11 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
150215 2:36:11 [ERROR] Unknown/unsupported storage engine: InnoDB
150215 2:36:11 [ERROR] Aborting
-------------------------
-------------------------
你先去云监控看下,最近一段时间你的服务器各项资源占用是否异常吧。
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。