I'm working on a MapReduce project using Amazon's EC2. The only bottleneck I have is that it takes ~35-40 seconds to scan each file, which seems very high. I'm using a c program as a wrapper for ClamAV, which takes a single file and the mode. Does anyone know approximately how long it takes to initialize ClamAV and load the virus db? Would it be possible to just keep the ClamAV process loaded/running? I've been searching quite a bit, but haven't found anything so far. If anyone has any other suggestions for optimization, that would be appreciated as well. I'm not very familiar with ClamAV.
Thanks.
_______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/support/ml