on 4-13-2010 9:56 AM Sean Carolan spake the following:
We have a perl cgi script that accepts uploaded files and runs clamscan on them. While observing the system performance I noticed that each clamscan process consumes up to 250MB of RAM. Is this normal for ClamAV? This seems like an enormous amount of RAM, for simply scanning one file for viruses.
If you do this quite often, you might be better running the clamd daemon and then using clamdscan instead... One copy of sigs is loaded, and it stays fairly constant