Debug Timmings

david touzeau david.touzeau at fr.kaspersky.com
Mon Apr 18 19:25:40 CEST 2011



Le lundi 18 avril 2011 à 17:32 +0100, Nuno Fernandes a écrit :
> Hello,
> 
> I have a amavisd-new-2.6.4 installed and somewhat this weekend, it
> started to take long time to process emails (drom 2/3 sec to 15/20 sec
> per email).
> 
> I've increased amavisd-new loglevel to 5 and see that spamassassin
> takes 97% of the time:
> 
> Apr 18 17:32:19 etmx1 amavis[19306]: (19306-10) TIMING [total 13003
> ms] - SMTP greeting: 2 (0%)0, SMTP EHLO: 1 (0%)0, SMTP pre-MAIL: 2
> (0%)0, lookup_sql: 5 (0%)0, SMTP pre-DATA-flush: 1 (0%)0, SMTP DATA:
> 31 (0%)0, check_init: 0 (0%)0, digest_hdr: 142 (1%)1,
> digest_body_dkim: 2 (0%)1, sql-enter: 8 (0%)2, mime_decode: 15 (0%)2,
> get-file-type1: 87 (1%)2, decompose_part: 1 (0%)2, parts_decode: 0
> (0%)2, AV-scan-1: 7 (0%)2, AV-scan-2: 2 (0%)2, lookup_sql: 4 (0%)2,
> lookup_sql: 2 (0%)2, lookup_sql: 3 (0%)2, lookup_sql: 1 (0%)2,
> spam-wb-list: 2 (0%)2, SA parse: 5 (0%)2, SA check: 12607 (97%)99,
> update_cache: 9 (0%)100, decide_mail_destiny: 3 (0%)100, fwd-connect:
> 8 (0%)100, fwd-xforward: 1 (0%)100, fwd-mail-pip: 10 (0%)100,
> fwd-rcpt-pip: 0 (0%)100, fwd-data-chkpnt: 0 (0%)100, write-header: 2
> (0%)100, fwd-data-contents: 0 (0%)100, fwd-end-chkpnt: 16 (0%)100,
> prepare-dsn: 2 (0%)100, main_log_entry: 6 (0%)100, sql-update: 4
> (0%)100, update_snmp: 2 (0%)100, SMTP pre-response: 1 (0%)100, SMTP
> response: 1 (0%)100,
> 
> How can i increase the loglevel so that i can see what is taking that
> long?
> 
> Thanks,
> 
> Nuno Fernandes
> 

Hi

I have the same issues for men amavisd childs turn to 100% CPU and
exceed the TTL child period !
You can find here what i have set in spamassassin in order to reduce the
time 
perhaps you are more lucky 
http://groups.google.com/group/mailing.unix.amavis-user/browse_thread/thread/2f41658d956bca51


-- 




More information about the amavis-users mailing list