/sbin/init 启动 CPU 使用率高

FWL*_*FWL 5 init cpu systemd 20.04

我正在运行 Ubuntu 20.04,一周以来我的笔记本电脑风扇一直在旋转。还存在严重的性能下降,系统似乎停止了几秒钟。

现在我有时间仔细观察它并注意到,它/sbin/init splash不断消耗大约 25% 的 CPU 时间。我有一个加密分区,这是罪魁祸首吗?

FWL*_*FWL 0

简短:看这里

看来,init splash也不能怪自己。仔细观察我发现的问题,systemd-journald进程的 CPU 使用率也出现峰值。

检查journalctl它是否装满了:

systemd[1]: apport-autoreport.service: Start request repeated too quickly.
systemd[1]: apport-autoreport.service: Failed with result 'start-limit-hit'.
systemd[1]: Failed to start Process error reports when automatic reporting is enabled.
Run Code Online (Sandbox Code Playgroud)

这个问题已经解决并且对我也有效。

但为什么 htop 将其与 联系起来呢init splash?嗯,这是另一个问题。