[CentOS] ClamAV "clamscan" command using huge amount of RAM

Tue Apr 13 19:31:30 UTC 2010
Kai Schaetzl <maillists at conactive.com>

Sean Carolan wrote on Tue, 13 Apr 2010 11:56:55 -0500:

> 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.

Change to clamd (use clamdscan). Yes, clamscan needs quite a bit of RAM.

Kai

-- 
Get your web at Conactive Internet Services: http://www.conactive.com