ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
CleamWin as windows service Help
Sebas


Joined: 17 Jul 2017
Posts: 0
Reply with quote
Hi


I was able to install as a windows service following this tutorial https://www.hmailserver.com/forum/viewtopic.php?t=26829
The OS is a Windows Server 2008 R2

Now I wanted to know how I could do to not have to load the entire database every time i scan a file.

Thanks.
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 9
Location: USA
Reply with quote
ClamWin needs to have a cache containing all the signatures that is loaded upon startup and is available for use all the time. This needs to be a program change. The ClamWin developers have been reluctant to do this because it will mean changing the code which they port directly to Windows from the original Clam AV Linux source code.

Thank you for using ClamWin!

Regards,
View user's profileSend private message
Re: CleamWin as windows service Help
jimimaseye


Joined: 04 Jan 2014
Posts: 0
Reply with quote
Sebas wrote:
Hi


I was able to install as a windows service following this tutorial https://www.hmailserver.com/forum/viewtopic.php?t=26829
The OS is a Windows Server 2008 R2

Now I wanted to know how I could do to not have to load the entire database every time i scan a file.

Thanks.

If you followed that post correctly you will now be running CLAMD.exe as a SERVICE. As a service, the definitions are loaded and held in memory and are only reloaded every 10 minutes if a change has been detected (due to database update). Any file past to it for scanning with be scanned immediately using existing cached definitions.

However, as Bob says, if you simply launch the Clamwin (clamscan.exe) process to scan the file it will load the defs everytime which is highly inefficient, resource hungry and slow - thats was the reason I put in the post to add the service in the first place.
View user's profileSend private message
Re: CleamWin as windows service Help
Sebas


Joined: 17 Jul 2017
Posts: 0
Reply with quote
[quote="jimimaseye"]

If you followed that post correctly you will now be running CLAMD.exe as a SERVICE. As a service, the definitions are loaded and held in memory and are only reloaded every 10 minutes if a change has been detected (due to database update). Any file past to it for scanning with be scanned immediately using existing cached definitions.

However, as Bob says, if you simply launch the Clamwin (clamscan.exe) process to scan the file it will load the defs everytime which is highly inefficient, resource hungry and slow - thats was the reason I put in the post to add the service in the first place.[/quote]

How did step the file to clamd to scan instead of scan with clamdscan?
View user's profileSend private message
jimimaseye


Joined: 04 Jan 2014
Posts: 0
Reply with quote
Normally your receiving MTA/client handles this.
View user's profileSend private message
CleamWin as windows service Help
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