List Info

Thread: SA BAYES TIMING INFO




SA BAYES TIMING INFO
user name
2006-08-15 14:14:50
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Justin Mason wrote:
> could it be that local_tests_only is *not* set to 1? 
in other words,
> that network results are being used in bayes training? 
That
> slows things down quite a lot.

As far as I can see, there's no connection... bayes
wouldn't have any use for that.

Plus, in some error logs, I'm getting a stack trace that
shows it times out in
_put_tokens which is pretty much the database side of
things.


- --
David Morton
Maia Mailguard                        - http://www.maiamailguard
.com
Morton Software Design and Consulting - http://www.dgrmm.net
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org


iD8DBQFE4dbZUy30ODPkzl0RAjyUAKC7v6K8ql+gy5mBaK2wVbg8eIAMPACf
QR/J
iwZEDceHOkqj/szSRGCJWPw=
=2GR2
-----END PGP SIGNATURE-----
_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
SA BAYES TIMING INFO
user name
2006-08-15 22:51:36
David Morton wrote:
> Justin Mason wrote:
> 
>>>could it be that local_tests_only is *not* set
to 1?  in other words,
>>>that network results are being used in bayes
training?  That
>>>slows things down quite a lot.
> 
> 
> As far as I can see, there's no connection... bayes
wouldn't have any use for that.

Actually Justin might be on to something, here.  The
SpamAssassin object
needs to be initialized before any Bayes training can take
place, and
one of the things the init() method does is load all of the
rulesets and
such.  When this is done in the process-quarantine script,
we're only
interested in Bayes training, so we might be able to pass a
"local_tests_only" argument to the new() or
init() methods to persuade
them to speed up the initialization somewhat.  Since the
init() method
seems to be where most of the delays are being reported,
anything we can
tell SpamAssassin /not/ to load unnecessarily at that time
should help.

-- 
Robert LeBlanc <rjlrenaissoft.com>
Renaissoft, Inc.
Maia Mailguard <http://www.maiamail
guard.com/>

_______________________________________________
Maia-users mailing list
Maia-usersrenaissoft.com
http://www.renaissoft.com/mailman/listinfo/maia-users
[1-2]

about | contact  Other archives ( Real Estate discussion Medical topics )