Okay, I have a more specific question which I hinted at in my previous
rambling regarding amavisd-new and SA 2.55:

http://marc.theaimsgroup.com/?l=spamassassin-talk&m=105374227831594&w=2

I understand that there appears to be no way to turn off opportunistic
expiration in 2.55 (this is causing no end to problems using bayes with
amavisd-new), and Theo said that this will apparently be configurable in
2.6x:

http://marc.theaimsgroup.com/?l=spamassassin-talk&m=105371243904816&w=2

One solution to our problem with 2.55 is to actually be able to force an
expiration. However, it seems to be my experience that "sa-learn
--force-expire" does *not* really force an expiration. It seems to only
*check* the database to see if an expiration should be run. Is this expected
behaviour? If so, what the heck is the point to the --force-expire flag if a
new call to SA will cause an expiration check to run anyway?

The evidence that --force-expire does *not* really do an expiration is that
when I am running with bayes enabled (via amavisd-new), and a cron job every
hour of "sa-learn --rebuild --force-expire", I'm still getting hideous
problems with amavisd-new timing out because all of a sudden the SA
functions it calls are trying to expire.

This afternoon it exploded the worst I've seen, with sa-learn actually
running out of memory and getting killed by the kernel, apparently because
the amavisd-new processes running also kicked off an opportunistic expire.

I've got the bayes_expiry_scan_count left at the default (5000, I believe).
I'm definitely not getting close to 5000 emails in through the box in an
hour, so I don't understand why, if I'm expiring manually with sa-learn,
that amavisd-new would *ever* try to do expiration.

Life without bayes isn't fun.

Maybe what I will do is write a script to run every hour which will first
kill off amavisd-new, then run "sa-learn --rebuild --force-expire", and then
start amavisd-new back up (followed by a "postfix flush", I suppose). It
just sounds like a lot of things could go wrong in that scenario, though...

johnS



-------------------------------------------------------
This SF.net email is sponsored by: eBay
Get office equipment for less on eBay!
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to