VPS unattended-upgrade占用100%问题解决
今天在ubuntu机器中发现了刚装了的系统居然有个叫unattended-upgrade的程序一直占用100%的cpu,那必须得杀!
直接 sudo kill -9 PID好像行不通
更改config file
/etc/apt/apt.conf.d/20auto-upgrades
sudo dpkg-reconfigure -plow unattended-upgrades |
设置 APT::Periodic::Unattended-Upgrade
为 “0”
cat /etc/apt/apt.conf.d/20auto-upgrades |
然后再 kill -9 pid
应该就能杀死了
All articles in this blog are licensed under CC BY-NC-SA 4.0 unless stating additionally.
Comment