[spambayes-dev] Re: [Spambayes] Error from pop3proxy

Richie Hindle richie at entrian.com
Wed Oct 1 03:33:44 EDT 2003

> If it amounts to no more than making training mutually exclusive with
> scoring, then some gross locks at a higher level would be a lot cheaper.

The POP3 proxy effectively has this already, by virtue of its
asyncore-based architecture, but I've still had DBRunRecoveryErrors from
it.  And I've never run any other process that touched the database.  I
don't the problem we have is a threading problem.

> I'll speculate about one possible problem with Berkeley:  if it isn't shut
> down cleanly, DBRunRecoveryError may well be an *expected* exception when
> you next start it, and running recovery at such times would then be a normal
> part of using Berkeley.  Until we know what's triggering DBRunRecoveryError,
> I'm just as inclined to believe it can't be fixed without incorporating
> recovery as I am to believe it's due to a thread race.

You could well be right.  There's a small part of my brain jumping up and
down saying "No, you've seen DBRunRecoveryErrors start to occur during the
middle of a run, not just after a restart!" but I'm not 100% convinced
it's right.

Richie Hindle
richie at entrian.com

More information about the spambayes-dev mailing list