| systemctl ...

问题描述 投票:0回答:1
means while you have 2G ram on the VM, you don't have it available for MariaDB. Maybe optimize the memory usage of apache(?) and whenever else is running on the server.
Alternately allocate more RAM. 改进这个问题

我第一次读到这个 exited statusMysql经常崩溃systemctl is-active mysqld || systemctl restart mysqld 没有帮助。 我自己的情况是,msqld是停止与

. 我也试过用以下方法运行一个cron作业 exited status 还是同样的问题。

我的问题是如何监控 并重新启动mysqld?

更多细节

CentOS 7.7.1908.Mysql 10.1.44 MariaDB

Mysql 10.1.44 MariaDB。

内存2GB

核心2

只是一个Wordpress网站
mysql linux centos7
1个回答
1
投票
2020-04-23  4:38:39 47136771361152 [Note] InnoDB: Initializing buffer pool, size = 128.0M
InnoDB: mmap(140574720 bytes) failed; errno 12
2020-04-23  4:38:39 47136771361152 [ERROR] InnoDB: Cannot allocate memory for the buffer pool

首先我看了这个Mysql经常崩溃没有帮助。我自己的情况是,msqld是停止与exited状态。我也试过运行一个cron作业与systemctl is-active mysqld。

© www.soinside.com 2019 - 2024. All rights reserved.