-----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Gary V Sent: Wednesday, May 09, 2007 9:58 AM To: [email protected] Subject: Re: [AMaViS-user] processing times
Dylan wrote: > I have been running postfix/amavisd for some time now and recently > switched one of my servers over to the Maia installation. I like the > setup and most everything seems to be working great, except my amavis > processing times are much higher than I am used to with a standard > postfix/amavisd setup. Where I would usually get sub 1000ms process > times, I'm seeing times in excess of 6000ms on a regular basis. Even a > plain text basic email. Is this typical? If not, how do I go about > troubleshooting this? Maybe it's the way amavis/spamassassin is loading > modules? Please help. Thanks! > Dylan You should temporarily raise $log_level to 2 or 3 and look at the TIMING statistics for a few messages. On a busy server one of the main difference with Maia will be the heavy SQL traffic. All else being equal, a poorly tuned InnoDB engine would be the first place I look. If you are using MySQL and have not tuned InnoDB, Maia will perform poorly. I would also ask if you added Pyzor to the mix. If so, I would not use the Pyzor main server, I would use the mirror at 82.94.255.100:24441. Look for the 'servers' file in the .pyzor directory of the home directory of the amavis user. This alone can save 4 or 5 seconds. Also, if using Razor, on occasion it's a good idea to re-discover the servers: su amavis -c 'razor-admin -discover' Gary V Gary, Thank you for the reply/suggestions. I had the logging on 2 and changed it to 3 then 4 but could not really see anything that pointed out what was taking the most time to process besides looking at the log entry time for each. As for mysql traffic, there isn't a WHOLE lot of mail going through this system yet (most is still on my plain postfix/amavis install) and the box that has the mysql db on it is connected to the same Cisco Catalyst (both ports 100/full). Neither box is under a load higher than 1 or even close under normail circumstances. I am not super familiar with SQL, mysql, or tuning InnoDB so I'm not sure if this is my problem. I did change my Pyzor server to the one suggested and ran the razor discover but neither changed the process timing in either direction. Dylan ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ 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/
