Manual talk:$wgAntivirusSetup

ClamAV
If you can try to use "clamdscan" instead of "clamscan", as clamdscan is much faster than clamscan.