[quote user="tomt"]
I just noticed that when I start clamd it takes about 5 minutes to load with the CPU @ 98%.
Once it's loaded, CPU drops back to normal.
Here's the log. Any way to get it to load up faster ??
+++ Started at Sun Jul 8 18:20:47 2007
clamd daemon 0.90.3 (OS: cygwin, ARCH: i386, CPU: i686)
Log file size limited to 1048576 bytes.
Reading databases from C:\clamav\share\clamav
Loaded 134556 signatures.
Bound to address 127.0.0.1 on tcp port 3310
Setting connection queue length to 15
Archive: Archived file size limit set to 10485760 bytes.
Archive: Recursion level limit set to 8.
Archive: Files limit set to 1000.
Archive: Compression ratio limit set to 250.
Archive support enabled.
Algorithmic detection enabled.
Portable Executable support enabled.
ELF support enabled.
Mail files support enabled.
Mail: Recursion level limit set to 64.
OLE2 support enabled.
PDF support disabled.
HTML support enabled.
Self checking every 1800 seconds.
Set stacksize to 1048576
[/quote]
Your startup log is very similar to mine and I do not know what is causing yours to take 5 minutes to start. I suspect that there is some function calling a directory that does not exist. In my case though I have clamd.exe and freshclam running as daemons and starting via a batch file so Clamwall only passes the message to clamd via port 3310 and never sees freshclam. Here's my basic stuff.
---------------------------------- clamav.bat ----------------------------------------------------------
echo off
c:\
cd\clamav\bin
clamd.exe
freshclam.exe -d
------------------------------------------------------- clamwall.ini ------------------------------------------------------------------
[ClamWall]
AdminMail=maiser
LogFile=C:\MERCURY\LOGS\clamwall\cw~Y~M.log
TagName=X-CLAMWALL
BanExtension=PIF,LNK,SCR,VBS,SHS,BAT,COM,EXE,CMD,EML,CPL,VBE,WBT,WSH
Debug=0
ReportSender=0
ClearPostPart=1
ClearPrePart=1
UUKill=0
SaveDir=C:\MERCURY\LOGS\clamwall\
ScanTimeout=120000
NoLocal=1
NoScanLocal=0
Enabled=1
Scratch=C:\MERCURY\Scratch
Queue=
NoLocalScan=0
[ClamAV]
ClamIP=127.0.0.1
ClamPort=3310
ClamSelf=0
ClamDir=C:\MERCURY\clamav
ClamHide=0
[quote user="tomt"]<p>I just noticed that when I start clamd it takes about 5 minutes to load with the CPU @ 98%.
Once it's loaded, CPU drops back to normal.
Here's the log. Any way to get it to load up faster ??</p>
<p>+++ Started at Sun Jul&nbsp; 8 18:20:47 2007
clamd daemon 0.90.3 (OS: cygwin, ARCH: i386, CPU: i686)
Log file size limited to 1048576 bytes.
Reading databases from C:\clamav\share\clamav
Loaded 134556 signatures.
Bound to address 127.0.0.1 on tcp port 3310
Setting connection queue length to 15
Archive: Archived file size limit set to 10485760 bytes.
Archive: Recursion level limit set to 8.
Archive: Files limit set to 1000.
Archive: Compression ratio limit set to 250.
Archive support enabled.
Algorithmic detection enabled.
Portable Executable support enabled.
ELF support enabled.
Mail files support enabled.
Mail: Recursion level limit set to 64.
OLE2 support enabled.
PDF support disabled.
HTML support enabled.
Self checking every 1800 seconds.
Set stacksize to 1048576
</p><p>[/quote]</p><p>&nbsp;</p><p>Your startup log is very similar to mine and I do not know what is causing yours to take 5 minutes to start.&nbsp; I suspect that there is some function calling a directory that does not exist.&nbsp; In my case though I have clamd.exe and freshclam running as daemons and starting via a batch file so Clamwall only passes the message to clamd via port 3310 and never sees freshclam.&nbsp; Here's my basic stuff.</p><p>---------------------------------- clamav.bat ----------------------------------------------------------&nbsp;</p><p>echo off
c:\
cd\clamav\bin
clamd.exe
freshclam.exe -d</p><p>&nbsp;</p><p>------------------------------------------------------- clamwall.ini ------------------------------------------------------------------&nbsp;</p><p>[ClamWall]
AdminMail=maiser
LogFile=C:\MERCURY\LOGS\clamwall\cw~Y~M.log
TagName=X-CLAMWALL
BanExtension=PIF,LNK,SCR,VBS,SHS,BAT,COM,EXE,CMD,EML,CPL,VBE,WBT,WSH
Debug=0
ReportSender=0
ClearPostPart=1
ClearPrePart=1
UUKill=0
SaveDir=C:\MERCURY\LOGS\clamwall\
ScanTimeout=120000
NoLocal=1
NoScanLocal=0
Enabled=1
Scratch=C:\MERCURY\Scratch
Queue=
NoLocalScan=0
[ClamAV]
ClamIP=127.0.0.1
ClamPort=3310
ClamSelf=0
ClamDir=C:\MERCURY\clamav
ClamHide=0
</p>