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

Al Varnell alvarnell at mac.com
Wed Nov 28 00:27:41 UTC 2018

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


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?

More information about the clamav-users mailing list