Re: [AMaViS-user] Postfix/Amavis slow after O.S. upgrade

This is a discussion on Re: [AMaViS-user] Postfix/Amavis slow after O.S. upgrade within the Amavis User forums, part of the Anti-Spam and Anti-Virus Related Forums category; Ricardo wrote: > Hi all! > > We have been running Postfix and Amavisd-new for quite some time, > ...


Go Back   Usenet Forums > Anti-Spam and Anti-Virus Related Forums > Amavis User

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-13-2006
Matthias Keller
 
Posts: n/a
Default Re: [AMaViS-user] Postfix/Amavis slow after O.S. upgrade

Ricardo wrote:

> Hi all!
>
> We have been running Postfix and Amavisd-new for quite some time,
> without any problem... until we upgraded our FreeBSD from 4.11 to
> 5.4-RELEASE.
>
> We are currently running:
>
> FreeBSD: 5.4-RELEASE
> Postfix: 2.3-20060207
> Amavisd: amavisd-new-20030616-p5 (ancient, I know...)
>
> Since the upgrade, at peak times, the messages take a lot of time to be
> sent. They usually took 2s to 3s at most, now they always take 10s+
> (sometimes more than 2min or 3min!).
>
> From the amavis.log, it seems that the problem is in the SMTP-* and
> fwd-* sections. Always.
>
> Here are the logs of a typical message with this probleam (edited for
> clarity sake):
>
> ---| amavis.log
> |----------------------------------------------------------
>
> Feb 13 18:22:34 xxx amavisd[2242]: (02242-03-11) LMTP::10024
> /var/amavis/amavis-20060213T180832-02242: <*from*> ->
> <*to*> Received: SIZE=2943 from xxx ([127.0.0.1])
> by localhost (xxx [127.0.0.1]) (amavisd-new, port 10024) with LMTP id
> 02242-03-11 for <*to*>; Mon, 13 Feb 2006 18:22:34 -0200 (BRDT)
>
> Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) Checking: <*from*> ->
> <*to*>
>
> Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) spam_scan: hits=4.11
> tests=...
>
> Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) SPAM-TAG, <*from*> ->
> <*to*>,
> No, hits=4.1 tagged_above=4.0 required=8.0 tests=...
>
> Feb 13 18:22:35 xxx amavisd[2242]: (02242-03-11) FWD via SMTP:
> [127.0.0.1:10025] <*from*> -> <*to*>
>
> Feb 13 18:22:50 xxx amavisd[2242]: (02242-03-11) Passed, <*from*> ->
> <*to*>,
> Message-ID: <6794617.1139861709165.JavaMail.tomcat4@yyy>, Hits: 4.11
>
> Feb 13 18:22:50 xxx amavisd[2242]: (02242-03-11) TIMING [total 15845
> ms] -
> SMTP pre-DATA-flush: 30 ( 0%)
> SMTP DATA..........: 810 ( 5%)
> body hash..........: 0 ( 0%)
> lookup_sql.........: 18 ( 0%)
> mime_decode........: 17 ( 0%)
> AV-scan-1..........: 7 ( 0%)
> SA msg read........: 1 ( 0%)
> SA parse...........: 1 ( 0%)
> SA check...........: 454 ( 3%)
> fwd-connect........: 7811 (49%)
> fwd-mail-from......: 344 ( 2%)
> fwd-rcpt-to........: 445 ( 3%)
> write-header.......: 311 ( 2%)
> fwd-data...........: 0 ( 0%)
> fwd-data-end.......: 5178 (33%)
> fwd-rundown........: 411 ( 3%)
> unlink-1-files.....: 4 ( 0%)
> rundown............: 1 ( 0%)
>
> -


From the fwd-connect I'd think about a reverse DNS lookup timeout...?
Do you have rDNS activated and if yes, is the host able to resolve
127.0.0.1 or the local IP...?

Matt


-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=...486&dat=121642
_______________________________________________
AMaViS-user mailing list
AMaViS-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/...fo/amavis-user
AMaViS-FAQ:http://www.amavis.org/amavis-faq.php3
AMaViS-HowTos:http://www.amavis.org/howto/
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On



All times are GMT +1. The time now is 01:19 AM.


Powered by vBulletin® Version 3.6.8
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0