Matth
Joined: 19 Oct 2007 |
Posts: 0 |
Location: Zurich |
|
 |
Posted: Fri Oct 19, 2007 9:37 pm |
|
 |
 |
 |
 |
Hi
I'm trying to use clamscan to scan single attachments on my mailserver. It works so far, but it takes about 4 seconds to scan a single file, and this is too long, I always get a timeout.
I'm running it using the following syntax:
clamscan --database="C:\Documents and Settings\All Users\.clamwin\db" "Filename"
Are there any other options to speed up the process?
Thanks for any input.
Matthias
|
|
budtse
Joined: 14 Jan 2006 |
Posts: 0 |
Location: Belgium |
|
 |
Posted: Sat Oct 20, 2007 1:49 pm |
|
 |
 |
 |
 |
The main reason for clamscan's inefficiency in scanning single files is that it needs to unpack and load the signature database every time it starts.
You might want to look into clamd, which is available on the clamav website (windows port is available on https://w32.clamav.net https://w32.clamav.net). Clamd is a service which keeps the database loaded.
I haven't used it myself so i can't give any details on how this works.
The ClamWin team is working on it's own service-structured program for Version 1, which should solve these delay times for scanning single files. We cannot put a date on when it will be ready, though.
|
|