On Wednesday 04 July 2007 23:38, Alexandros G. Fragkiadakis wrote:
> On Wed, July 4, 2007 18:00, Salvatore wrote:
> > Hi, I use clamav-0.90.3 (with amavisd-new-2.2.1, maia-1.0.2 and
> > postfix-2.2.8) but for some days the system is very slow, pheraps the
> > problem is in the cpu load (my CPU is Intel(R) Xeon(TM) CPU 3.00GHz (3000
> >  MHz)) from clamscan, in particular I have:
> >
> >
> > /usr/local/bin/clamscan --stdout --disable-summary -r
> > --tempdir=/var/amavisd/tmp
> > /var/amavisd/tmp/amavis-2
> >
> >
> > #top
> > PID          USER         %CPU          COMMAND
> > 5357          amavis            78                   clamscan
> >
> >
> > ..and often the %CPU is 90% or 99% !!
> >
> >
> > The command 'clamscan' is:
> >
> >
> > /usr/local/bin/clamscan --stdout --disable-summary -r
> > --tempdir=/var/amavisd/tmp
> > /var/amavisd/tmp/amavis-2
> >
> >
> > ..there is a problem with in CPU or in clamscan ?
> > Thanks.
> >
> >
> > ------
> > Salvatore.
>
> use clamdscan instead

Why continuing with this answer. Clamdscan takes 50% of the time of clamscan 
and that still much to slow.

-- 
Thomas

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

Reply via email to