CLAMSCAN taking up 100% of our CPU
Posted on 2007-10-09
First off, I know pretty much nothing about Linux, so please take that into consideration. (any proposal or requests for information must come with step-by-step on how to get them):
We have an SMTP gateway server that is setup to receive all of our internet email & then scan it, then forward it on to our Exchange server. Recently emails have been taking longer & longer to arrive until all of a sudden yesterday, they just stopped arriving.
Some information about our setup:
The SMTP gateway is a Linux box that has CLAMSCAN (AV I think) & SpamAssassin installed on it. I am not sure what else it has installed & what it does with our email (it was set up by an ex-sys admin that is no longer with the company). When I run the TOP command, I find that CLAMSCAN has a lot of instances running & they top out the CPU at 100+% most of the time. I have found that if I kill the PIDs related to that, that email slowly begins to trickle in, but then it locks up again until I kill more PIDs. That being said, I really need to find a way to fix this problem so that our email gets through faster than that (under 2 minutes ideally). We are getting ready to replace the box with a Windows based gateway, however, for the time being, we need to free up all the pending emails & get this box performing well enough to make us feel comfortable.
Thanks for all your help