Stefan, > I'm running a mailrelay with postfix 2.2.3 and amavisd-new 2.3.3. If my > server gets under high load, I will get high values in fwd-data-end. Here > is an example: > amavis[3399]: (03399-01-17) TIMING [total 17891 ms] - > SMTP pre-DATA-flush: 5 (0%)0, SMTP DATA: 41 (0%)0, body_digest: 1 (0%)0, > gen_mail_id: 0 (0%)0, mime_decode: 26 (0%)0, AV-scan-1: 119 (1%)1, > AV-scan-2: 53 (0%)1, spam-wb-list: 2 (0%)1, SA msg read: 3 (0%)1, SA parse: > 10 (0%)1, SA check: 7553 (42%)44, update_cache: 2 (0%)44, fwd-connect: 6 > (0%)44, fwd-mail-from: 1 (0%)44, fwd-rcpt-to: 2 (0%) 44, write-header: 2 > (0%)44, fwd-data: 1 (0%)44, fwd-data-end: 10045 (56%)100, fwd-rundown: 1 > (0%)100, main_log_entry: 14 (0%)100, update_snmp: 1 (0%)100, > unlink-2-files: 1 (0%) 100, rundown: 0 (0%)100 > > What tells me the high value in fwd-data-end? > And what should I change to reduce this value?
The 'fwd-data-end' section reflects the elapsed time from the moment the final dot is sent after transfering the complete mail contents, and the time a SMTP response is received by amavisd. During this time amavisd doesn't do anything, all the delay is generated on the MTA side. This means the MTA is really busy and takes a horrible 10 seconds to reply and confirm the message reception. If you have any checks enabled on the smtpd service on port 10025, these could explain a situation. The usual culprits would be header of body checks, redundant DNS/RBL checks, signing milters, etc. If these times are high for most messages when the situation occurs, it could be some general resource problem, like busy disks, swapping, ... Mark ------------------------------------------------------------------------- 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/
