On Tue, Jun 11, 2002 at 04:36:06PM -0400, Weidong Wang wrote: > Hi, I just installed spamassassin, as it looks very promising. > > One thing I noticed is that checking a mail (the sample-spam.txt one, 4K) > one takes over 1 minute. At first I thought it is razor, as I noticed during > "make test" that razor test took a long time. But after disabling razor > (setting RAZOR_SCORE to 0 as one posting indicates), the overall time is > still about the same.
There is new code in SA CVS (it's probably in the 2.21 nightly builds if you grab that) to have fine grained time logging. You get something like this: kenny:/var/log/salogs# cat [EMAIL PROTECTED] 0.000: Starting SpamAssassin Check 0.001: Init completed 0.003: Created message object, checking message 0.008: Launching RBL queries in the background 0.115: Finished launching RBL queries in the background 0.115: Starting head tests 0.199: Finished head tests (Delta: 0.084s) 0.199: Starting body tests (...) 4.412: RBL -> Waiting for result on 254.132.125.64.relays.visi.com. 4.416: RBL -> No match on 254.132.125.64.relays.visi.com. (Delta: 0.004s) 4.422: RBL -> Waiting for result on 254.132.125.64.unconfirmed.dsbl.org 4.425: RBL -> No match on 254.132.125.64.unconfirmed.dsbl.org (Delta: 0.003s) 4.429: Finished all RBL tests (Delta: 3.104s) 4.430: Done checking message (Delta: 4.427s) 4.431: Done running SpamAssassin (Delta: 4.431s) Note that in the current released code, all the DNS calls happen sequentially so it can take a long time (I had examples of more than 5mn) if some DNS queries hung. The current code runs all the DNS queries in parallel and lets you set an upper bound so that you go on without them if you haven't heard back after a while. Marc -- "A mouse is a device used to point at the xterm you want to type in" - A.S.R. Microsoft is to operating systems & security .... .... what McDonalds is to gourmet cooking Home page: http://marc.merlins.org/ | Finger [EMAIL PROTECTED] for PGP key _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas - http://devcon.sprintpcs.com/adp/index.cfm?source=osdntextlink _______________________________________________ Spamassassin-talk mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/spamassassin-talk