[spambayes-dev] Strange performance
dipandDBRunRecoveryErrorretreat
Tony Meyer
tameyer at ihug.co.nz
Sun Jan 4 17:20:03 EST 2004
[Tony]
> Maybe this is one of the causes for the RUNRECOVERY errors - the user
> doesn't close sb_server properly, so the db isn't properly
> closed/saved.
[Tim]
> I think you may be on to something here!
[Richie]
> Sadly not. sb_server saves the db after ever train as well,
> out of paranoia.
Drat, I missed the call to _doSave(), and my search for store() didn't find
anything because it's in UserInterface.py, not ProxyUI.py.
BTW, what happens if the browser is closed in the middle of a train? Does
the onReview code still complete (and therefore save), or does it get
interrupted?
Looks like it's back to some other cause of the RunRecovery errors, then.
That you're able to do 250,000 messages without one, though, suggests that
it's not something that 'just happens' as part of regular bsddb usage
(unless it's something that happens every x days, or something hideous like
that).
Hopefully someone else can provoke the hammer.py script to fail; I'm out of
ideas.
=Tony Meyer
More information about the spambayes-dev
mailing list