Christian Purnomo wrote: > Spot on - CPU has been relatively high when the delay happens. As per > your guess, the swap is hardly used based on the following vmstat > output: > > [EMAIL PROTECTED] /etc/postfix # vmstat 5 > procs -----------memory---------- ---swap-- -----io---- --system-- > ----cpu---- > r b swpd free buff cache si so bi bo in cs us sy > id wa > 2 1 10880 78580 289760 630456 0 0 13 2 12 14 23 8 > 51 18 > 0 1 10880 76012 289776 630576 0 0 22 958 392 583 48 11 > 17 25 > 1 0 10880 77816 289784 630772 0 0 19 1003 398 586 52 11 > 8 28 > 3 1 10880 76888 289788 630700 0 0 10 687 336 453 28 6 > 39 27 > 4 0 10880 77152 289804 630752 0 0 10 858 382 613 60 14 > 4 22 >
The above does not indicate an overly taxed system. About 25% of the time is in I/O wait, there's idle time, and your blocks in/out are not high. > > We are still using amavisd-new 2.3.3-3 (from Ubuntu 6.0.6 LTS package), > I noticed TimeElapsedDecoding below doesn't exist in our amavisd-agent. > I have attached an output from amavisd-agent, could you please help with > parsing the report? I tried to look for some manual about the parameters > but wasn't able to find one on the net. > > Our bayes DB is a berkeley db on a filesystem: > > [EMAIL PROTECTED] ~amavis/.spamassassin # ls -la bayes_* > -rw------- 1 amavis amavis 8376 2008-06-24 14:05 bayes_journal > -rw------- 1 amavis amavis 670367744 2008-06-24 14:05 bayes_seen > -rw------- 1 amavis amavis 20455424 2008-06-24 14:05 bayes_toks > > is our bayes_seen too large? we haven't looked at the option of using 670meg is pretty large. Mine is a stingy 20meg. Have you expired old entries? > the bayes into database (i.e. mysql) in the past as this would add a > complexity to the mail system; we prefer to keep it simple as much as > possible but if this is a time for us to change, I would be able to > propose a project to investigate the use of database for the bayes db. Have you looked at the TIMING log entries (log_level=2) ? btw. I think you might not have included your amavis-agent report - it didn't come though on my end. MrC ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ 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/
