Chris de Vidal wrote: >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? >
Do compiler options help? YMMV but if I'm looking for speed I'll compile from source or create an RPM from the SRPM, and I'll add some optimizations: ./configure CFLAGS=-O3 -march=pentium4 The man page for gcc may provide more insight. -- Morgan Smith Dutro Company 675 North 600 West Logan, UT 84321 (435) 752-3922 ext.146 (435) 512-3374 [EMAIL PROTECTED] _______________________________________________ http://lurker.clamav.net/list/clamav-users.html