ClamAV 0.83 from dag.wieers.com
CentOS 3.3 (A.K.A RedHat Enterprise Linux AS3)
Kernel 2.4.28

I have a full system scan cron job.  We have a 1.25TB Samba server that 
causes the load average to go to 5+.  When that happens the users notice
and I must kill the script.  I've even reniced it to 19 with no luck.

Here's the script:
===========
#!/bin/bash

# If it's already running, exit quietly.
pgrep clamscan > /dev/null && exit 0

nice -n 19 clamscan --recursive --quiet --log=/var/log/clamav/clamscan.log /
===========


I can supply .conf files if necessary.

Ideas?

CD
_______________________________________________
http://lurker.clamav.net/list/clamav-users.html

Reply via email to