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

Bug#483177: [apt] random_sleep sleeps for too much time I guess



On Tue, May 27, 2008 at 05:37:28PM +0100, Norberto M. Lopes wrote:
> Package: apt
> Version: 0.7.12
> Severity: minor
> 
> --- Please enter the report below this line. ---
> apt in /etc/cron.daily sometimes sleeps for more than 20 minutes.
> Is there any reason for sleeping for so much time?
> apt calls random_sleep and sometimes the random value will be 1600 or 
> something... (1800 being the maximum)
[..]

The random sleep was added to avoid that the big archive
servers/mirrors get hammered at exactly the same time when a lot of
machines are switched on, e.g. 9:00 in the morning. 

Cheers,
 Michael





Reply to: