试试 logind randomly loses its dbus connection 中提到的方法:
systemctl restart dbus; systemctl restart systemd-logind.service
[root@app-B ~]# systemctl restart dbus
Failed to restart dbus.service: Activation of org.freedesktop.systemd1 timed out
See system logs and 'systemctl status dbus.service' for details.
[root@app-B ~]# systemctl status dbus.service
Failed to get properties: Connection timed out
@ZhiChao&: free -m
看一下可用内存
[root@app-B ~]# free -m
total used free shared buff/cache available
Mem: 32013 25564 224 1 6224 5985
Swap: 0 0 0
@ZhiChao&: 如果可以的话,建议重启一下试试