At 01:11 PM 1/9/2004, Tomasz Papszun wrote:
A gigantic difference (as shown in my previous message) is caused by
wasting much time for launching the program (clamscan) and loading a
database into memory (while clamd has it loaded _already_).

But when you scan many files at once, you execute clamscan only once, so
supremacy of clamdscan is lesser. Theoretically, with a number of files
going to infinity, a duration of clamscan is reaching a duration of
clamdscan.

Now you could ask: "But why does clamdscan run longer that clamscan?! I
understand that the times can be similar, but clamdscan longer?!".
Read on :-) .

> three times as many viruses as clamscan (that's weird in itself, since all
> the messages in the quarantine were put there by clamscan!)

Not so weird, in fact.
First of all we must remember that clamdscan is a clamd client, so
unless we use command line options, scanning with clamdscan will use
these options which are set in clamav.conf.

For instance, you may have set in clamav.conf ScanMail and ScanArchive.
Of course using more features requires more time and resources.
That's why clamdscan can run longer than clamscan!

And your second question: "Why did clamdcan find 33 viruses, while
clamscan found only 11?!".

The answer is the same: clamdscan is a clamd client!
If you have set ScanMail in clamav.conf, then clamdscan tries harder
when searching for viruses. So it can find infections also in email
messages, not only in raw binary files!

thanks for your reply - and to the others who posted in this thread as well. i have a much better understanding now of all this. and it sure is great to no longer be faced with throwing even more iron at the problem!



Paul Theodoropoulos http://www.anastrophe.com



-------------------------------------------------------
This SF.net email is sponsored by: Perforce Software.
Perforce is the Fast Software Configuration Management System offering
advanced branching capabilities and atomic changes on 50+ platforms.
Free Eval! http://www.perforce.com/perforce/loadprog.html
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to