Török Edwin wrote:
On 2011-03-10 21:39, Martin Preen wrote:
Török Edwin wrote:
On 2011-03-10 19:36, Martin Preen wrote:
Török Edwin wrote:
On 2011-03-10 19:25, Vivien Raoul wrote:
Hello,
I used to post here a few months ago about the engine's memory
consumption.
The newer versions give me satisfaction, but during the process of
database
reload (after a freshclam update), the network can be unreachable
during a
few minutes.
minutes?? It should be a few seconds. Are you using 0.97?
In my case its approx 3 minutes. I just switched from 0.95.3 to 0.97
and before the database reload took about 50 seconds. I tried to
switch off the bytecode signatures, but that doesn't helped.
Maybe your system is swapping?
Watch it with 'vmstat 5'.
No, its not a memory issue. Its a Sun/Solaris system with 2 CPU's
and 2GB RAM and currently about 1GB free RAM.
Didn't you say it has 128MB of RAM? Or are you testing on your main box now?
That was Vivien.
Sorry, I should have made a new subject/thread.
Can I tweak a setting to reduce this time ?
Why is the reloading slower in 0.97 ?
Maybe I can try different compiler settings
(optimizations) ?
Post your clamconf -n please.
Checking configuration files in /etc
Config file: clamd.conf
-----------------------
LogFile = "/var/clamav/clamd.log"
LogFileMaxSize = "536870912"
LogTime = "yes"
TemporaryDirectory = "/var/tmp"
LocalSocket = "/var/clamav/clamd.socket"
MaxThreads = "25"
ReadTimeout = "600"
CrossFilesystems disabled
SelfCheck = "3600"
ExitOnOOM = "yes"
User = "daemon"
DetectBrokenExecutables = "yes"
Config file: freshclam.conf
---------------------------
UpdateLogFile = "/var/clamav/update.log"
DatabaseOwner = "daemon"
DatabaseMirror = "db.de.clamav.net", "db.uk.clamav.net",
"database.clamav.net"
clamav-milter.conf not found
Software settings
-----------------
Version: 0.97
Optional features supported: MEMPOOL IPv6 BIGSTACK AUTOIT_EA06 BZIP2 RAR
Database information
--------------------
Database directory: /var/clamav
main.cvd: version 53, sigs: 846214, built on Sun Nov 14 15:58:22 2010
[3rd Party] phish.ndb: 15663 sigs
bytecode.cvd: version 142, sigs: 40, built on Tue Mar 8 19:28:23 2011
[3rd Party] local.ndb: 511 sigs
[3rd Party] spear.ndb: 17655 sigs
[3rd Party] scam.ndb: 11258 sigs
[3rd Party] junk.ndb: 39197 sigs
[3rd Party] spearl.ndb: 6147 sigs
[3rd Party] lott.ndb: 2270 sigs
[3rd Party] jurlbl.ndb: 4934 sigs
[3rd Party] scamnailer.ndb: 23057 sigs
daily.cld: version 12819, sigs: 71044, built on Thu Mar 10 17:36:19 2011
Total number of signatures: 1037990
Platform information
--------------------
uname: solaris2.10
OS: solaris2.10, ARCH: sparc, CPU: sparc
Full OS version: Solaris 10 1/06 s10s_u1wos_19a SPARC
zlib version: 1.1.4 (1.1.4)
platform id: 0x0e663c3c1400000000000580
Build information
-----------------
Sun studio: (0.5.128)
CPPFLAGS: -I/opt/bzip2/include
CFLAGS: -g
CXXFLAGS:
LDFLAGS:
Configure: '--prefix=/opt/clamav' '--sysconfdir=/etc'
'--datadir=/var/clamav' '--enable-bigstack' '--disable-rpath'
'--with-dbdir=/var/clamav' '--with-user=nobody' '--with-group=nogroup'
'--with-libncurses-prefix=/opt/sfw' '--with-libbz2-prefix=/opt/bzip2'
--enable-ltdl-convenience
sizeof(void*) = 4
Engine flevel: 60, dconf: 60
--Edwin
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml
_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://www.clamav.net/support/ml