I在2个不同的本地化中安装了2台服务器,由Heartbeat + Drbd管理一个同步文件。它们从几个月开始运行,最后一个主服务器的重新启动日期为:2022-12-07 15:44
在主服务器上的这个晚上,MariaDB服务已停止。请参阅下面的日志:
Dec 18 06:50:14 nodegra systemd[1]: Starting Daily apt upgrade and clean activities...
Dec 18 06:50:20 nodegra pacemaker-controld[1131]: notice: High CPU load detected: 1.370000
Dec 18 06:50:50 nodegra pacemaker-controld[1131]: notice: High CPU load detected: 1.620000
Dec 18 06:51:20 nodegra pacemaker-controld[1131]: notice: High CPU load detected: 1.980000
Dec 18 06:51:50 nodegra pacemaker-controld[1131]: notice: High CPU load detected: 2.120000
Dec 18 06:52:20 nodegra pacemaker-controld[1131]: notice: High CPU load detected: 2.210000
Dec 18 06:52:36 nodegra systemd[1]: Stopping MariaDB 10.5.15 database server...
Dec 18 06:52:36 nodegra mariadbd[1949]: 2022-12-18 6:52:36 0 [Note] /usr/sbin/mariadbd (initiated by: unknown): Normal shutdown
Dec 18 06:52:36 nodegra mariadbd[1949]: 2022-12-18 6:52:36 0 [Note] Event Scheduler: Purging the queue. 0 events
Dec 18 06:52:36 nodegra kayelles.service[1967382]: Warning: got packets out of order. Expected 2 but received 1
Dec 18 06:52:37 nodegra kayelles.service[1967382]: Warning: got packets out of order. Expected 2 but received 1
Dec 18 06:52:37 nodegra kayelles.service[1967382]: Warning: got packets out of order. Expected 2 but received 1
Dec 18 06:52:37 nodegra kayelles.service[1967382]: Warning: got packets out of order. Expected 2 but received 1
Dec 18 06:52:37 nodegra kayelles.service[1967382]: Warning: got packets out of order. Expected 15 but received 1
Dec 18 06:52:37 nodegra mariadbd[1949]: 2022-12-18 6:52:37 0 [Note] InnoDB: FTS optimize thread exiting.
Dec 18 06:52:37 nodegra kayelles.service[1967382]: db error Error: Connection was killed
我找不到/理解Mariadb服务停止的原因。 有没有办法找到请求者?
“启动:未知”是一个指标,表明它不是用户进行
SHUTDOWN
,而是信号的结果。
包装制造商 - 控制通知消息的关闭事件,我怀疑这可能是原因。仔细观察您的起搏器/心跳日志。
tos供您回复。心跳日志是空的,这一天是空的,在起搏器日志中没有什么特别的:
dec18 06:50:50 Nodegra Pacemaker-Controld [1131] (throttle_check_thresholds)注意:检测到高CPU负载:1.620000 12月18日06:51:20 Nodegra Pacemaker-Controld [1131] (throttle_check_thresholds)注意:检测到高CPU负载:1.980000 12月18日06:51:50 Nodegra Pacemaker-Controld [1131] (therottle_check_thresholds)注意:检测到高CPU负载:2.120000 12月18日06:52:20 Nodegra Pacemaker-Controld [1131] (throttle_check_thresholds)注意:检测到高的CPU负载:2.210000 12月18日06:52:50 Nodegra Pacemaker-Controld [1131] (throttle_check_thresholds)注意:检测到高CPU负载:3.080000 12月18日06:53:20 Nodegra Pacemaker-Controld [1131] (therottle_check_thresholds)注意:检测到高的CPU负载:5.630000 12月18日06:53:50 Nodegra Pacemaker-controld [1131] (therottle_check_thresholds)注意:检测到高的CPU负载:5.670000 12月18日06:54:20 Nodegra Pacemaker-Controld [1131] (thtottle_check_thresholds)注意:检测到高CPU负载:6.120000 12月18日06:54:50 Nodegra Pacemaker-Controld [1131] (therottle_check_thresholds)注意:检测到高的CPU负载:7.070000 12月18日06:55:20 Nodegra Pacemaker-Controld [1131] (therottle_check_thresholds)注意:检测到高CPU负载:7.360000
我有同样的问题。有什么解决方案吗?我不知道我必须检查什么,或者我必须设定再次避免此问题。