[Clamav-users] high load condition

2006-08-28 Thread Dwayne Hottinger
My mail server has been choking under high load for about 3 months now.  I have
about 725 user accounts, using sendmail, imapd and horde for webmail.  Top
shows the load average climbing above 30.  Server is a 4 gb+ memory and Dual
pIII.  I use clamav with procmail.  Top shows clamscan in the top portion of
utilization everytime.  My clamav isnt logging (doesnt look like it has for
sometime).  I disabled clamscan in procmail and mail utilization went way down.
 Does anyone know how I can start troubleshooting this?  I am running
ClamAV 0.88.4/1742.  My clamav.conf is pretty normal.  I havent changed it in
quite sometime though.
 Procmail script:
 # send through clamav
#:0fw
#| /usr/local/bin/clamassassin

# quarantine if clamav found virus
#:0:
#* ^X-Virus-Status: Yes
#/opt/viruses/clamav-viruses

thanks,

ddh

--
Dwayne Hottinger
Network Administrator
Harrisonburg City Public Schools
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] high load condition

2006-08-28 Thread Nigel Horne

Dwayne Hottinger wrote:

My mail server has been choking under high load for about 3 months now.  I have
about 725 user accounts, using sendmail, imapd and horde for webmail.  Top
shows the load average climbing above 30.  Server is a 4 gb+ memory and Dual
pIII.  I use clamav with procmail.  Top shows clamscan in the top portion of
utilization everytime.  My clamav isnt logging (doesnt look like it has for
sometime).  I disabled clamscan in procmail and mail utilization went way down.
  

Try using clamdscan instead of clamscan
___
http://lurker.clamav.net/list/clamav-users.html


Re: [Clamav-users] high load condition

2006-08-28 Thread Rob MacGregor

On 8/28/06, Dwayne Hottinger [EMAIL PROTECTED] wrote:

My mail server has been choking under high load for about 3 months now.  I have
about 725 user accounts, using sendmail, imapd and horde for webmail.  Top
shows the load average climbing above 30.


Try using clamdscan with sendmail instead (via one of the milters).
Part of your problem will be that you're using clamscan, part will be
that you'll be scanning the same email each time it's delivered if
people are CCd.

--
Please keep list traffic on the list.

Rob MacGregor
 Whoever fights monsters should see to it that in the process he
   doesn't become a monster.  Friedrich Nietzsche
___
http://lurker.clamav.net/list/clamav-users.html