Hi

I have an Ubuntu server version 22.04.4 running on AWS as a small instance - 1 cpu and 2gig of ram.

When I run clamscan against a file from the terminal with

Code:
/usr/bin/clamscan testfile.txt
the cpu spikes to 100%, the memory is gobbled up and the server locks up entirely. I have to force reset it.

I have attached an strace but I can't see any obvious issues in the clam logs or syslog so i'm at a loss as to what to try next.

clamavtrace.txt