brunnhilde icon indicating copy to clipboard operation
brunnhilde copied to clipboard

Using clamdscan instead of clamscan to take advantage of multithreading?

Open kieranjol opened this issue 1 year ago • 1 comments

In a similar vein to https://github.com/tw4l/brunnhilde/issues/65, clamscan tends to run quite slow in general. As a result, we've stoped running clamav as part of brunnhilde and run it seperately for timing and workflow reasons. I'm now realising that clamd+clamscan allows for the '-m' option to be triggered, which hugely speeds up performance, but adds complexity as it relies on the clamd.conf for settings and it requires the clamd daemon to be running. I've seen performance increases of about 6-8 times greater speed on mac and windows.

I think this is a significant change as launching the daemon is different on mac and windows.

kieranjol avatar May 27 '24 07:05 kieranjol

Interesting! I'm all for making changes to speed up virus scanning so long as the user configuration doesn't get too complicated. Would you have bandwidth to look into this a bit further?

tw4l avatar Jun 04 '24 19:06 tw4l