Dylan wrote:
> Gary,
> Thank you for the reply/suggestions. I had the logging on 2 and changed
> it to 3 then 4 but could not really see anything that pointed out what
> was taking the most time to process besides looking at the log entry
> time for each. As for mysql traffic, there isn't a WHOLE lot of mail
> going through this system yet (most is still on my plain postfix/amavis
> install) and the box that has the mysql db on it is connected to the
> same Cisco Catalyst (both ports 100/full). Neither box is under a load
> higher than 1 or even close under normail circumstances. I am not super
> familiar with SQL, mysql, or tuning InnoDB so I'm not sure if this is my
> problem. I did change my Pyzor server to the one suggested and ran the
> razor discover but neither changed the process timing in either
> direction.
> Dylan
You should have some log entries similar to this:
May 9 12:43:54 mail amavis[28510]: (28510-01) TIMING [total 19502 ms]
- SMTP greeting: 7 (0%)0, SMTP EHLO: 1 (0%)0, SMTP pre-MAIL: 1 (0%)0,
mkdir tempdir: 1 (0%)0, create email.txt: 1 (0%)0, SMTP pre-DATA-flush:
4 (0%)0, SMTP DATA: 78 (0%)0, check_init: 1 (0%)0, digest_hdr: 1 (0%)0,
digest_body: 1 (0%)0, sql-connect: 5 (0%)1, sql-enter: 12 (0%)1, mkdir
parts: 3 (0%)1, mime_decode: 33 (0%)1, get-file-type3: 20 (0%)1,
decompose_part: 3 (0%)1, parts_decode: 0 (0%)1, AV-scan-1: 3671 (19%)20,
AV-scan-2: 68 (0%)20, AV-scan-3: 2862 (15%)35, spam-wb-list: 3 (0%)35,
SA msg read: 2 (0%)35, SA parse: 6 (0%)35, SA check: 12603 (65%)99,
update_cache: 9 (0%)99, penpals_check: 3 (0%)99, decide_mail_destiny: 1
<...>
It would be helpful to see a few.
Do you know if your old amavisd.conf file you were using with
amavisd-new had?:
$sa_local_tests_only = 1;
Gary V
-------------------------------------------------------------------------
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/