[clamav-users] Disable MaxFileSize and MaxFileSize to scan the whole system

Brent Clark brentgclarklist at gmail.com
Wed Nov 28 05:46:55 UTC 2018

What Albert said!


On 2018/11/28 02:27, Al Varnell wrote:
> If it were possible to scan any size, it would eventually crash your system and might even cause permanent damage to it. You don't have unlimited RAM, so you cannot do unlimited scans.
> Sent from my iPad
> -Al-
> On Nov 27, 2018, at 14:01, Albert o <alberto.bed995 at gmail.com> wrote:
>> Can you guys please tell me the right way to disable MaxFileSize?
>> In my clamd.conf I'm using
>> MaxScanSize 100000M
>> MaxFileSize 100000M
>> Would placing a # in front of the parameters make it scan any file not
>> depending on its size?
>> What about using
>> MaxScanSize 0
>> MaxFileSize 0
>> or even deleting the parameters?
>> I would like to scan every file in my system since I believe there are
>> some big files with viruses (buffer overflows).
>> Would "sudo clamscan -r --remove=yes /" be the right command for
>> scanning the whole system?
> _______________________________________________
> clamav-users mailing list
> clamav-users at lists.clamav.net
> http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/contact.html#ml

More information about the clamav-users mailing list