[Clamav-announce] new ClamAV release (fwd)
mailscanner at ecs.soton.ac.uk
Fri Nov 14 11:27:18 GMT 2003
At 07:13 14/11/2003, you wrote:
>On Thu, 13 Nov 2003 18:33:30 +0100, Frank Louwers writes:
><clamdscan instead of clamscan>
> >just change the wrapper script to use clamdscan instead of clamscan :)
> >I modified the script to check if the daemon was running, and use
> >clamscan instead.
>Did that myself, and it works quite well. *Much* faster than clamscan
>However, I wonder if there's a cheaper (in terms of system calls etc)
> method of checking if clamd is already running than what I do now:
>ps ax | grep -v grep | grep clamd 1>/dev/null 2>/dev/null \
> || /usr/local/bin/clamd -c /etc/clamav.conf
>$ClamScan $ExtraScanOptions $ScanOptions "$@"
>According to clamd(8) it should be doable with `clamd PING`, however,
> that doesn't do anything at all.
The module should give you at least the same performance as the daemon, but
without all the overheads of checking that the daemon is alive and without
the risk of nasty things happening if the daemon crashes.
MailScanner thanks transtec Computers for their support
PGP footprint: EE81 D763 3DB0 0BFD E1DC 7222 11F6 5947 1415 B654
More information about the MailScanner