no way to compare when less than two revisions
Differences
This shows you the differences between two versions of the page.
— | tech:linux:apt_update_resource_overload [2020/01/26 12:27] (current) – created - external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Disable updates (Bionic) ====== | ||
+ | <code bash> | ||
+ | systemctl disable apt-daily.timer | ||
+ | systemctl disable apt-daily-upgrade.timer | ||
+ | </ | ||
+ | ====== APT update resource overload ====== | ||
+ | apt has a daily and weekly update on Ubuntu servers. | ||
+ | |||
+ | The apt configurations as at ''/ | ||
+ | |||
+ | Of particular interest is the file '' | ||
+ | |||
+ | The key parameters to set to 0 are below | ||
+ | |||
+ | < | ||
+ | APT:: | ||
+ | APT:: | ||
+ | APT:: | ||
+ | </ | ||
+ | |||
+ | ===== Release upgrade check ===== | ||
+ | Alongside apt updates are the Ubuntu release checks that run periodically and take up values resources. | ||
+ | |||
+ | ===== cron jobs ===== | ||
+ | The cron jobs that cause the issue are | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | * / | ||
+ | |||
+ | The other option may be to disable execute on these files. | ||
+ | |||
+ | <code bash> | ||
+ | chmod -x / | ||
+ | chmod -x / | ||
+ | chmod -x / | ||
+ | chmod -x / | ||
+ | chmod -x / | ||
+ | chmod -x / | ||
+ | </ | ||
+ | |||
+ | ===== Related ===== | ||
+ | [[apt_upgrades|Automatic apt upgrades]] |