ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
clamscan performance
GregObleshchuk


Joined: 31 Jul 2007
Posts: 0
Reply with quote
Hello,
I have developed a software product for Microsoft Exchange server which is an virus and spam protection product. THis hooks into Microsoft SMTP services and does Greylisting, DNS Blacklist, Virus Scanning and SpamAssissin. It works really well (sorry this is not advertising for this )

I use clamscan to scan viruses as they come in. I do this by having the full version of ClamWin installed and then calling clamscan with the following parameters

C:\Program Files\ClamWin\bin\clamscan.exe --database="C:\Documents and Settings\All Users\.clamwin\db" %FILENAME%

%FILENAME% is replaced with the full path to a file which is created by my product, this file is a valid email which has been received.

I have an internal limit of running five(5) clamscans at once, anymore and the dual P4 will slow down until it does not respond.

I have just installed version 0.91.1 and found that the performance is much better and helps greatly but I am hoping that there is something else can be done. Are there ways of improving the performance of clanscan?

If I supply a filename (as I do) does it scan the memory of the computer, maybe a switch to stop this if it happens or are there anything else? I would like clanscan to just scan the file and attachments (as it is a .eml file).

any help would be great

thanks
Greg
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
clamscan does not do memory scanning by default.

As to the performance, you might want to have a look at clamd on the clamav site. It is like a service that keeps the database loaded, which speeds up scanning many different files. Most of the time spent on scanning small files goes to loading the database in memory.

ClamWin 1.0 will have it's own service to keep the database in memory, but there is no release schedule for this version.
View user's profileSend private message
GregObleshchuk


Joined: 31 Jul 2007
Posts: 0
Reply with quote
Hi,
Thanks but I thought clamav was for unix. I'm windows only

Greg
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 0
Location: Belgium
Reply with quote
There's a Windows version of clamd at https://w32.clamav.net/ https://w32.clamav.net/.

I must say that i have never used it and we can probably not give you much support here.
View user's profileSend private message
clamscan performance
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