ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
Scanning single files quickly
Matth


Joined: 19 Oct 2007
Posts: 0
Location: Zurich
Reply with quote
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
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
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.
View user's profileSend private message
Scanning single files quickly
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic