> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of .rp
> Sent: Wednesday, July 20, 2005 4:40 PM
> To: ClamAV users ML
> Subject: Re: [Clamav-users] virusDB update issue
>
>
>
> > Hi all,
> >
> > I have one question about the virusDB updating. Supposely my clamd is
> > scanning for virus while libclamAV is updating the database. Does it
> > take effect immediately to my current scanning upon the completion of
> > the updating , or does it take effect on the next time I do the virus
> > scan and leave the current scanning with the outdated virus pattern?
> >
> >
> The updated database is not in use until the restart of clamav.
> You should
> see in your logs something allow the lines of 'database read in'
>

Actually it depends on the way you are scanning.

If you are using 'clamscan', it reloads the DB everytime you run the
program, so in this case you would have to restart the scanning.

If you are using 'clamdscan', clamd reloads the DB every time it does a
"SelfCheck" (configured at /etc/clamd.conf). The threads that are currently
scanning continue to scan with the old DB, but the new ones start scanning
with the updated DB. You don't need to restart clamd. Clamd also reload the
DB if you told it to thru the RELOAD command.

- Samuel

_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to