On Tue, 7 Nov 2006 13:57:23 -0800 (PST)
Dennis Peterson <[EMAIL PROTECTED]> wrote:

> > 
> > 
> > What seems entirely bizarre about Fedora's ClamAV packages is that they
> > don't use freshclam in daemon mode, they use cron to run it. There's a
> > perfectly good tool provided that does all the necessary things to link
> > freshclam to clamd, and they don't use it.
> > 
> 
> If you run freshclam as a daemon you are obliged to monitor and restart it
> should it die. It is needed for milliseconds each hour or what ever your
> configuration is set for. If it runs out of cron it runs for just milli-
> seconds - other wise it is in the proc table, uses memory, etc. And as
> a daemon it is something of a bad neighbor. Running it from cron allows you
> to include simple randomizing so it doesn't hit the server on the hour in
> lockstep with hundreds of other systems. And even if you run at some other
> minute after the hour you are still in lockstep with others who have selected
> that minute. Randomize your poll - It's a small but net friendly thing to do.

I accept your points Dennis, I'm just puzzled that people have so much
trouble with freshclam daemons. I have used it for years and find it
100% reliable after a few problems with settings in the early months.

I use a non standard interval so that the timing drifts relative to the
clock time (on the hour at least).

Horses for courses, but I feel that cron is more for the rare cases
where freshclam doesn't seem to work properly. In my experience it has
been very reliable.

-- 

Brian Morrison

bdm at fenrir dot org dot uk

GnuPG key ID DE32E5C5 - http://wwwkeys.uk.pgp.net/pgpnet/wwwkeys.html
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to