
victor at gu
Jun 14, 2004, 2:04 AM
Post #5 of 5
(1910 views)
Permalink
|
|
Re: Preventing overloads at the database.clamav.net servers
[In reply to]
|
|
On Sun, Jun 13, 2004 at 12:28:00PM +0200, Oden Eriksson wrote: > > > > Oden Eriksson <oeriksson [at] mandrakesoft> wrote: > > > > In short, the conclusion of the thread is that packages (such as > > > > freshclam) should randomly select and establish the time at which > > > > their cron jobs run, in order to prevent overloading download > > > > servers. > > > > > > There should be a built in random delay into freshclam, and probably > > > > I disagree. freshclam is a command line utility and it must work > > immediately on demand. > > I meant that it should be a optional switch, like "--random", "-r". I see no need for that. You can easily randomize freshclam starting time with help of package installation scripts. Example from my package for upcoming ALT Linux distro: # randomize time of database updating (in order to distribute load on servers evenly) RNDM=$[$RANDOM/546] /usr/bin/subst s/^[0-9]*/$RNDM/ %_sysconfdir/cron.d/freshclam ------------------------------------------------------- This SF.Net email is sponsored by the new InstallShield X. From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 _______________________________________________ Clamav-devel mailing list Clamav-devel [at] lists https://lists.sourceforge.net/lists/listinfo/clamav-devel
|