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



-------------------------------------------------------------------------
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/

Reply via email to