Hi,
  My clamav run on my Linux server good before. But yesterday it has
something wrong.
  First, it read database error.

Wed Feb 20 20:45:07 2008 -> ERROR: reload db failed: Unable to open file
or directory
Wed Feb 20 20:45:07 2008 -> Terminating because of a fatal error.Wed Feb
20 20:45:07 2008 -> Socket file removed.

 The next morning, I restarted the clamd, it cost much time to load virus
database, 35 minutes!! Before just 15 minues.

  Thu Feb 21 15:35:30 2008 -> +++ Started at Thu Feb 21 15:35:30 2008
Thu Feb 21 15:35:30 2008 -> clamd daemon 0.90.1 (OS: linux-gnu, ARCH:
i386, CPU: i486)
Thu Feb 21 15:35:30 2008 -> Log file size limited to 1048576 bytes.
Thu Feb 21 15:35:30 2008 -> Reading databases from /var/lib/clamav/
Thu Feb 21 16:08:52 2008 -> Loaded 263291 signatures.
Thu Feb 21 16:08:52 2008 -> Unix socket file /var/run/clamav/clamd
Thu Feb 21 16:08:52 2008 -> Setting connection queue length to 15
Thu Feb 21 16:08:52 2008 -> Archive: Archived file size limit set to
10485760 bytes.
Thu Feb 21 16:08:52 2008 -> Archive: Recursion level limit set to 8.
Thu Feb 21 16:08:52 2008 -> Archive: Files limit set to 1000.
Thu Feb 21 16:08:52 2008 -> Archive: Compression ratio limit set to 250.
Thu Feb 21 16:08:52 2008 -> Archive support enabled.
Thu Feb 21 16:08:52 2008 -> Algorithmic detection enabled.
Thu Feb 21 16:08:52 2008 -> Portable Executable support enabled.
Thu Feb 21 16:08:52 2008 -> ELF support enabled.
Thu Feb 21 16:08:52 2008 -> Mail files support enabled.

And clamd use more processor ability now:

Tasks: 216 total,   4 running, 212 sleeping,   0 stopped,   0 zombie
Cpu(s): 99.3%us,  0.5%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.0%hi,  0.2%si, 
0.0%st
Mem:   2076000k total,   771452k used,  1304548k free,   130120k buffers
Swap:   979956k total,        0k used,   979956k free,   261016k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 5672 amavis    25   0 33692  28m 1088 R   97  1.4   1:21.93 clamscan
 5671 amavis    25   0 32768  27m 1088 R   50  1.3   0:45.94 clamscan
 3612 root      25   0 41744  35m  876 R   49  1.8  13:55.15 clamd
 5091 wlipsett  17   0  4760 2144 1140 S    2  0.1   0:01.00 imapd
 5316 rlucyshy  15   0  4152 1488 1140 S    1  0.1   0:00.44 imapd

Tasks: 264 total,   2 running, 262 sleeping,   0 stopped,   0 zombie
Cpu(s): 50.1%us,  0.3%sy,  0.0%ni, 47.4%id,  2.0%wa,  0.0%hi,  0.2%si, 
0.0%st
Mem:   2076000k total,  1997228k used,    78772k free,   283596k buffers
Swap:   979956k total,       76k used,   979880k free,  1027308k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
17486 root      25   0  116m  79m 1136 R   99  3.9  90:57.82 clamd
 1203 root      16   0  7688 3524 2464 R    1  0.2   0:00.21 top
27018 breeve    16   0  4240 1604 1136 S    0  0.1   0:24.03 imapd
    1 root      16   0  1580  528  460 S    0  0.0   0:03.40 init

When I use clamav, it will delay email about 1-2 hours, when I bypass it,
the Email receive and send is very fast.

My company's Linux server is two P3 1Ghz cpu DELL 1G memory. Is it two old?

My Linux operation system is Ubuntu. Version
Linux LinuxDemo 2.6.20-15-generic #2 SMP Sun Apr 15 07:36:31 UTC 2007 i686
GNU/Linux.

Any good suggestion?

Thanks

_______________________________________________
Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net
http://lurker.clamav.net/list/clamav-users.html

Reply via email to