ClamAV hogging resources
I set up AMP per the Linode guide, and also a mail server with Clam and Spamassassin. Every couple days, my clamd process will go all gangbusters, using up all the CPU and a sizeable chunk of RAM. The only thing so far I've found that allviates the issue is by restarting Apache. I don't run the Apache module mod_clamav (? exact name escapes me), …but anything else you guys can think of to check? I can post logs, etc…I'm just on my phone at the moment though.
Thanks
2 Replies
ClamAV adds a huge resource load with minimal benefit. It's detection rate isn't great; good spam filtering will catch many virus-infected message; your MTA can be configured to reject mail with suspicious attachments (e.g. .bat, .exe).