John, > Since migrating to Postfix+Amavisd-new+SpamAssassin+ClamAV a few months > back, I've had some issues with amavisd-new going out of control and > consuming a massive amount of CPU time. The load on my box is normally > less than 0.8, but when amavisd-new goes crazy, the load will climb to > over 7 and will sometimes get to over 10. [...] > This script will find all messages in the non-hold queue, and get thier > postfix IDs. Then it will put the messages on hold, so that I can check > them out at a later date.
Good approach. > I have a few examples of emails that are causing problems, and then only > common identifier that I can find is that there seems to be some form of > double-byte characters in them.. I think. In places where I expect '=', > I see '=3D' in the postcat output. There are also several '=20' > scattered about the postcat output as well. > > I feel that this is a major bug in amavisd-new since a process will lock > up until amavisd-nanny comes along to kill it off (or you manually 'kill > -9' the process.) I doubt the problem is in amavisd, it looks more like a problem with some SpamAssassin rules. > Does anyone know of a work-around for this issue, or better yet, a > solution to keep it from happening in the first place? > > Base OS: Ubuntu Server 7.10 > amavisd-new: 2.4.2-6.2 > spamassassin: 3.2.4-0 Since you are able to capture the offending messages, the first thing to try is to see how a command-line spamassassin behaves, e.g.: # su vscan -c 'spamassassin -t -D <0.msg' If this works satisfactorily, the next thing to try is to turn up amavisd log level to 5, resubmitt an offending message sample and see where log entries stall. > I sent the following email a week ago, and I have not seen any > responses to it. I'm going to assume the message never hit the list > (even though I received it back from the list.) It did hit the list, but you have not provided any specific evidence (log or amavisd timing report) for a useful reply. Mark ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ AMaViS-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/amavis-user AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3 AMaViS-HowTos:http://www.amavis.org/howto/
