今天突然发现两个网站都没法访问了,然后登上去检查了一下访问日志,程序文件有没有变更。都没有发现什么问题。然后尝试重启Mysql:
mysql dead but subsys locked
查看日志以后发现( 22:12:50是我手动重启了):
161208 16:35:05 mysqld_safe Number of processes running now: 0
161208 16:35:05 mysqld_safe mysqld restarted
161208 16:35:07 [Note] Plugin 'FEDERATED' is disabled.
161208 16:35:07 InnoDB: The InnoDB memory heap is disabled
161208 16:35:07 InnoDB: Mutexes and rw_locks use GCC atomic builtins
161208 16:35:07 InnoDB: Compressed tables use zlib 1.2.3
161208 16:35:07 InnoDB: Using Linux native AIO
161208 16:35:07 InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(137363456 bytes) failed; errno 12
161208 16:35:07 InnoDB: Completed initialization of buffer pool
161208 16:35:07 InnoDB: Fatal error: cannot allocate memory for the buffer pool
161208 16:35:07 [ERROR] Plugin 'InnoDB' init function returned error.
161208 16:35:07 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
161208 16:35:07 [ERROR] Unknown/unsupported storage engine: InnoDB
161208 16:35:07 [ERROR] Aborting
161208 16:35:07 [Note] /usr/libexec/mysqld: Shutdown complete
161208 16:35:08 mysqld_safe mysqld from pid file /var/run/mysqld/mysqld.pid ended
161208 22:12:50 mysqld_safe Starting mysqld daemon with databases from /var/lib/mysql
求教这是什么问题
-------------------------
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。