服务器自动关闭?

服务器自动关闭?

两天前,我的运行 ubuntu 服务器(18.04)的英特尔 nuc 开始随机关闭(大约 1 小时后)。

我已经更新了所有内容,问题仍然存在。

在我的 /var/log/system 中,我可以看到以下几行,但实际上没有关闭的原因。我有什么想法可以在哪里挖掘吗?

Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Availability of block devices...
Apr 30 14:59:56 aaa-1 systemd[1]: Closed Load/Save RF Kill Switch Status /dev/rfkill Watch.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped target Bluetooth.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped target Sound Card.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Authorization Manager...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped Stop ureadahead data collection 45s after completed startup.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped target Graphical Interface.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Accounts Service...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped target Multi-User System.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping LSB: Record successful boot for GRUB...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Regular background program processing daemon...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped Initialize hardware monitoring sensors.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping OpenBSD Secure Shell server...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopped target Login Prompts.
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Getty on tty1...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Docker Application Container Engine...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Dispatcher daemon for systemd-networkd...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping LSB: disk temperature monitoring daemon...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Deferred execution scheduler...
Apr 30 14:59:56 aaa-1 systemd[1]: Stopping Login Service...

提前致谢

答案1

我使用了带有 CentOS 的英特尔 NUC。有时回来,我遇到同样的问题:在不同的时间间隔后关闭。我以为是CentOS的问题,后来发现是散热问题。

我通过更新 BIOS 并在 BIOS -> Advanced -> Colling 选项卡中将风扇控制模式设置为“Balanced and Cool”来解决此问题。

另外,我还清除了所有阻碍 NUC 空气流动的垃圾文件。

希望这也适合你。

相关内容