Luis Croker wrote: > > On Tue, 2008-10-28 at 11:01 -0500, Bowie Bailey wrote: > > > > Luis Croker wrote: > > > > > > Hi all... > > > > > > I continue with slow delivery in my mail server. Like I told > > > you, the filters are working well, but the mail queue some times is > > > big and slow. > > > > > > I have read > > > http://wiki.apache.org/spamassassin/FasterPerformance and I did > > > some chages to try to get performance. This changes are: > > > > > > -I installed a DNS server locally, in the same server. > > > -I turned off DCC, Razor and Pyzor. > > > -I set the bayes use to 0. > > > > > and I have the same number of procs for amavisd: > > > $max_servers = 100; > > > > 100 amavisd processes??? That looks like your problem. How much > > memory do you have? Assuming that each process needs 50M > > (conservative), this would be 5GB of ram just for amavisd. This > > doesn't > > count your mail server, antivirus, dns, etc. > > > > Lower the number of amavisd processes so that the system doesn't go > > into > > swap. Swap is the #1 killer of SA performance. Also, if you are > > calling SA through amavisd, make sure you don't have spamd running. > > Amavisd runs SA internally and doesn't need spamd. > > Hi... I have done tests with 10 processes, 30, 50, 100 and the > results are the same... I have 4 Gb RAM and spamd is not running...
I can't imagine you being able to run 100 amavisd processes without going into swap with only 4GB of RAM. My server uses over 90MB per amavisd process. How big is each amavisd process on your server? Make absolutely sure that your system is not using ANY swap while trying to deliver mail. Once you have done that, then you can look at other issues. I think amavisd can output timing information for debug purposes. Try enabling that and see if it gives you any ideas where the slowdown is happening. -- Bowie