[Spambayes] POP3Proxy freeze
Sylvain Beucler
beuc at beuc.net
Wed Jan 7 10:17:37 EST 2004
Le 2004.01.07 12:51, Sylvain Beucler a écrit :
>>> I use SpamBayes under GNU and I usually let my session open all
>>> the day, with the POP3 proxy launched in a terminal.
>>>
>>> Sometimes, it eventually freezes, eg do not reply to HTTP and POP3
>>> requests. There is no error output on the terminal. I have to
>>> kill it and start it again.
>>
>> Does this happen at any particular point? There's at least one bug
>> that has
>> been fixed (in cvs) since 1.0a7 that could be the cause of this, but
>> IIRC
>> that one gets triggered if you close the browser in the middle of
>> training.
After some more testing, it seems to freeze during mail retreiving (I
automatically check my mailboxes each 10mn).
The last verbose output is allways something like:
Flushing 1073289024 from corpus cache
and when I C-c spambayes, the stack trace is always:
Traceback (most recent call last):
File "sb_server.py", line 832, in ?
run()
File "sb_server.py", line 826, in run
start(state=state)
File "sb_server.py", line 766, in start
main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
File "sb_server.py", line 747, in main
Dibbler.run(launchBrowser=launchUI)
File "/usr/lib/python2.2/site-packages/spambayes/Dibbler.py", line
689, in run asyncore.loop(map=context._map)
File "/usr/lib/python2.2/asyncore.py", line 205, in loop
poll_fun (timeout, map)
File "/usr/lib/python2.2/asyncore.py", line 83, in poll
r,w,e = select.select (r,w,e, timeout)
I currently check 4 mail accounts with spam bayes, and my configuration
is somewhat special since I have 3 accounts on the same distant pop3
server - and thus I only created 2 SpamBayes 'proxies' eventually, on
port 1110 and 1111, to pop.libertysurf.fr and pop3.beuc.net
respectively.
Could this cause the problem when I check the 3 libertysurf accounts in
a row? It does not always happen since Balsa, my mail client, seems to
check the mailboxes in a random order, and I have 2 other accounts that
I check directly, abthat may cause a necessary pause between 2
libertysurf mail checkings.
--
Sylvain
More information about the Spambayes
mailing list