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

Bug#600262: RandomizedDelaySec keeps adding time?



	What's going on here?

journalctl -u apt-daily.timer
-- Logs begin at Wed 2016-04-13 11:31:47 EDT, end at Wed 2016-04-13 12:45:01 EDT. --
Apr 13 11:32:03 dell2800 systemd[1]: apt-daily.timer: Adding 3h 24min 46.546088s random time.
Apr 13 11:32:03 dell2800 systemd[1]: Started Daily apt activities.
Apr 13 11:32:44 dell2800 systemd[1]: apt-daily.timer: Adding 7h 54min 7.948491s random time.
Apr 13 11:32:44 dell2800 systemd[1]: apt-daily.timer: Adding 33min 47.624050s random time.
Apr 13 11:49:24 dell2800 systemd[1]: apt-daily.timer: Adding 10h 45min 54.377903s random time.
Apr 13 12:33:12 dell2800 systemd[1]: apt-daily.timer: Adding 5h 43min 12.313399s random time.
Apr 13 12:33:34 dell2800 systemd[1]: apt-daily.timer: Adding 5h 57min 20.985914s random time.
Apr 13 12:33:35 dell2800 systemd[1]: apt-daily.timer: Adding 1h 55min 46.777949s random time.
Apr 13 12:33:35 dell2800 systemd[1]: apt-daily.timer: Adding 5h 58min 11.421149s random time.
Apr 13 12:33:35 dell2800 systemd[1]: apt-daily.timer: Adding 3h 1min 33.448069s random time.
Apr 13 12:34:39 dell2800 systemd[1]: apt-daily.timer: Adding 26min 29.201106s random time.
Apr 13 12:36:42 dell2800 systemd[1]: apt-daily.timer: Adding 4h 21min 1.164079s random time.
Apr 13 12:36:43 dell2800 systemd[1]: apt-daily.timer: Adding 9h 13min 8.999045s random time.
Apr 13 12:37:08 dell2800 systemd[1]: apt-daily.timer: Adding 49min 39.913589s random time.
Apr 13 12:37:25 dell2800 systemd[1]: apt-daily.timer: Adding 7h 12min 50.683743s random time.
Apr 13 12:37:26 dell2800 systemd[1]: apt-daily.timer: Adding 9h 31min 50.704880s random time.
Apr 13 12:37:28 dell2800 systemd[1]: apt-daily.timer: Adding 4h 8min 15.164526s random time.
Apr 13 12:37:49 dell2800 systemd[1]: apt-daily.timer: Adding 11h 16min 27.959952s random time.
Apr 13 12:38:00 dell2800 systemd[1]: apt-daily.timer: Adding 3h 45min 32.960753s random time.
Apr 13 12:38:02 dell2800 systemd[1]: apt-daily.timer: Adding 35min 7.663537s random time.
Apr 13 12:38:24 dell2800 systemd[1]: apt-daily.timer: Adding 3h 42min 36.110279s random time.
Apr 13 12:38:25 dell2800 systemd[1]: apt-daily.timer: Adding 57min 29.037444s random time.

Do each successive iterations of adding time cancel out the previous round?  Why are
more than one iteration added and why is the interval for each batch of iterations 
occurring so close to each other in wall clock time when 'AccuracySec=1h'?  I would expect
only one such message and it would be 1 hour after the timer started.

Seems like either systemd.timer 'RandomizedDelaySec' is broken or the wording of the message
is wrong.  It is unclear whether the apt-daily.service would run at all with all the
random time delays being added.


Reply to: