Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: ClamAV: devel

Preventing overloads at the database.clamav.net servers

 

 

ClamAV devel RSS feed   Index | Next | Previous | View Threaded


oscar.valdez at plastipak

Jun 11, 2004, 9:03 AM

Post #1 of 5 (2009 views)
Permalink
Preventing overloads at the database.clamav.net servers

Two cents (and not even my own):

I would like to draw your attention to the thread "proposal: best
practices for cron jobs in RPM packages" at the freshrpms list:

http://lists.freshrpms.net/pipermail/freshrpms-list/2004-June/009875.html

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.

Thanks for a great package!
--
Oscar A. Valdez



-------------------------------------------------------
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


oeriksson at mandrakesoft

Jun 11, 2004, 9:29 AM

Post #2 of 5 (1901 views)
Permalink
Re: Preventing overloads at the database.clamav.net servers [In reply to]

fredagen den 11 juni 2004 18.03 skrev Oscar A. Valdez:
> Two cents (and not even my own):
>
> I would like to draw your attention to the thread "proposal: best
> practices for cron jobs in RPM packages" at the freshrpms list:
>
> http://lists.freshrpms.net/pipermail/freshrpms-list/2004-June/009875.html
>
> 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 also some
means to determine the closest mirror despite what the rr ns rr says.

--
Regards // Oden Eriksson


-------------------------------------------------------
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


tk at lodz

Jun 11, 2004, 12:11 PM

Post #3 of 5 (1909 views)
Permalink
Re: Preventing overloads at the database.clamav.net servers [In reply to]

On Fri, 11 Jun 2004 18:29:34 +0200
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.

> also some means to determine the closest mirror despite what the rr ns
> rr says.

Already implemented. See http://www.clamav.net/doc/mirrors/

--
oo ..... Tomasz Kojm <tkojm [at] clamav>
(\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg
\..........._ 0DCA5A08407D5288279DB43454822DC8985A444B
//\ /\ Fri Jun 11 21:11:39 CEST 2004


oeriksson at mandrakesoft

Jun 13, 2004, 3:28 AM

Post #4 of 5 (1877 views)
Permalink
Re: Preventing overloads at the database.clamav.net servers [In reply to]

fredagen den 11 juni 2004 21.11 skrev Tomasz Kojm:
> On Fri, 11 Jun 2004 18:29:34 +0200
>
> 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".

> > also some means to determine the closest mirror despite what the rr ns
> > rr says.
>
> Already implemented. See http://www.clamav.net/doc/mirrors/

Cool!, I didn't know that.

Thanks.
--
Regards // Oden Eriksson


-------------------------------------------------------
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


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

ClamAV devel RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.