操作系统:Arch Linux
版本:4.1.0-1
/etc/systemd/swap.conf
与 .pacnew conf 比较
< swapfc_frequency=1s # How often check free swap space
---
> swapfc_frequency=1 # How often to check free swap space
顶部显示持续 30++% 的 CPU 使用率
1662996 root 1 -19 7512 2552 1836 S 32.0 0.0 0:12.29 bash systemd-swap start
Systemd Journal 被此消息无限淹没
Jun 08 23:17:32 shingetsu systemd-swap[4191261]: /usr/bin/systemd-swap: line 78: read: 1s: invalid timeout specification
Jun 08 23:17:32 shingetsu systemd-swap[4191261]: /usr/bin/systemd-swap: line 78: read: 1s: invalid timeout specification
Jun 08 23:17:32 shingetsu systemd-swap[4191261]: /usr/bin/systemd-swap: line 78: read: 1s: invalid timeout specification
Jun 08 23:17:32 shingetsu systemd-swap[4191261]: /usr/bin/systemd-swap: line 78: read: 1s: invalid timeout specification
Jun 08 23:17:32 shingetsu systemd-swap[4191261]: /usr/bin/systemd-swap: line 78: read: 1s: invalid timeout specification
如前所述,我们现在以秒为单位定义超时频率,不带后缀
+1上述修复也解决了我的错误
在我注意到这一点之前,我花了几天的时间使用了一台灼热的笔记本电脑。
同样 - 也为我修好了!
不仅烧CPU而且还破坏日志,基本上在达到磁盘使用限制时擦除任何有用的东西
最有用的评论
在我注意到这一点之前,我花了几天的时间使用了一台灼热的笔记本电脑。