我是Google Compute的新手,但不是CentOS。我使用Google的CentOS 7.2版本创建了一个实例,并且遇到了MariaDB的问题,它每天关闭一两次并且无法自动启动。还有其他人遇到过这个问题吗?
我的数据库日志:
161203 19:13:44 InnoDB: Initializing buffer pool, size = 512.0M
InnoDB: mmap(551026688 bytes) failed; errno 12
161203 19:13:44 InnoDB: Completed initialization of buffer pool
161203 19:13:44 InnoDB: Fatal error: cannot allocate memory for the buffer pool
161203 19:13:44 [ERROR] Plugin 'InnoDB' init function returned error.
161203 19:13:44 [ERROR] Plugin 'InnoDB' registration as a STORAGE ENGINE failed.
161203 19:13:44 [ERROR] mysqld: Out of memory (Needed 128917504 bytes)
161203 19:13:44 [ERROR] mysqld: Out of memory (Needed 96681984 bytes)
161203 19:13:44 [Note] Plugin 'FEEDBACK' is disabled.
161203 19:13:44 [ERROR] Unknown/unsupported storage engine: InnoDB
161203 19:13:44 [ERROR] Aborting
我尝试的事情:
这是我在这里的第一篇文章,所以请放轻松。
谢谢,
斯科特