[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RFC: One more timer change for apt



Hi everyone,

while trying to fix the issue of unattended upgrades running
at any point of the day, apt 1.4.1 reduced the whole update
and upgrade daily script to run between 6 and 7am.

This unleashes another problem: Bandwidth and load peaks. If
all your machine fetch updates and upgrades between 6 and 7,
this might overload the available bandwidth. I'm not sure how
large installations we have, but this is definitely a problem
for Ubuntu where the cloud mirrors are already overloaded durng
that period.

The new plan is to just split the upgrades from the updates,
and run updates spread over 24 hours again, and keep the part
of running unattended-upgrades confined to 6..7am. This should
make everyone happy: Systems get upgraded at a predictable time,
and mirrors do not get overloaded.

I attached a diff -w diff against 1.4.1 for review.

For further details, see the bug in Launchpad:

https://bugs.launchpad.net/ubuntu/artful/+source/apt/+bug/1686470

Comments welcome.

(For people not using systemd, nothing changes, just like in
 1.4.1. We really care about the majority here WRT mirror load)
-- 
Debian Developer - deb.li/jak | jak-linux.org - free software dev
                  |  Ubuntu Core Developer |
When replying, only quote what is necessary, and write each reply
directly below the part(s) it pertains to ('inline').  Thank you.

Attachment: apt_lp1686470.diff.gz
Description: application/gzip


Reply to: