[spambayes-bugs] [ spambayes-Bugs-1113863 ] sb_tray eats all cpu time

SourceForge.net noreply at sourceforge.net
Mon Feb 7 23:56:10 CET 2005


Bugs item #1113863, was opened at 2005-02-01 23:40
Message generated for change (Comment added) made by anadelonbrin
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1113863&group_id=61702

Category: None
Group: None
>Status: Closed
>Resolution: Fixed
Priority: 5
Submitted By: Janusz Piwowarski (jpiw)
Assigned to: Tony Meyer (anadelonbrin)
Summary: sb_tray eats all cpu time

Initial Comment:
After some time sb_tray.exe eats all cpu time. I tries 
1.0.2 and 1.0.3. I have Celeron 2 GHz with 512 MB RAM, 
XP/SP2

----------------------------------------------------------------------

>Comment By: Tony Meyer (anadelonbrin)
Date: 2005-02-08 11:56

Message:
Logged In: YES 
user_id=552329

Ok, I've changed the behaviour for 1.1.  If globals:verbose
is set to True, then the behaviour is the same.  Otherwise
each distinct connection error is reported only once per hour.

----------------------------------------------------------------------

Comment By: Janusz Piwowarski (jpiw)
Date: 2005-02-07 22:42

Message:
Logged In: YES 
user_id=436042

I agree, for me looks like connection is established, but later 
breaks - my email client reports about too long inactivity time.

----------------------------------------------------------------------

Comment By: Cloggy (cloggy)
Date: 2005-02-07 22:18

Message:
Logged In: YES 
user_id=1209514

Tony, I did not know that my mailprovider was down and I'm
not going to verify it each time I want to use my email
program. I figured that out after sbtray was using all my
cpu cycles and filling up my disk space. The error logging
should not be turned off but repeating the same error line
endlessly should be avoided...;-)

Regards,
Dick

----------------------------------------------------------------------

Comment By: Cloggy (cloggy)
Date: 2005-02-07 21:15

Message:
Logged In: YES 
user_id=1209514

Tony, I did not know that my mailprovider was down and I'm
not going to verify it each time I want to use my email
program. I figured that out after sbtray was using all my
cpu cycles and filling up my disk space. The error logging
should not be turned off but repeating the same error line
endlessly should be avoided...;-)

Regards,
Dick

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-02-07 14:29

Message:
Logged In: YES 
user_id=552329

Why are you trying to check for mail when a network
connection is unavailable?  If you didn't try to check for
new mail, then the error wouldn't occur and the log entry
would not be created.

I'm relucant to disable the printing of this error when it
is a valid error and should be reported.

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-02-07 14:27

Message:
Logged In: YES 
user_id=552329

Noting dupe in 

[ 1116710 ] BUG 1113863
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1116710&group_id=61702

----------------------------------------------------------------------

Comment By: Janusz Piwowarski (jpiw)
Date: 2005-02-04 01:56

Message:
Logged In: YES 
user_id=436042

In my log is nothing more, only "warning: unhandled 
exception" line repeated to 100 MB file.


----------------------------------------------------------------------

Comment By: Cloggy (cloggy)
Date: 2005-02-03 21:33

Message:
Logged In: YES 
user_id=1209514

Unplug your PC from the Internet and triy to read the
emails/connect to the pop3 server and it wil enter a loop.
Here some details from the logfile:
User interface url is http://localhost:8880/
Can't connect to mail.bluebottle.com:110: (11001,
'getaddrinfo failed')
Can't connect to mail.runbox.com:110: (11001, 'getaddrinfo
failed')
Can't connect to pop.unlimitedmail.org:110: (11001,
'getaddrinfo failed')
Can't connect to mail.prettel.nl:110: (11001, 'getaddrinfo
failed')
Can't connect to pop.unlimitedmail.org:110: (11001,
'getaddrinfo failed')
Can't connect to mail.runbox.com:110: (11001, 'getaddrinfo
failed')
Can't connect to mail.bluebottle.com:110: (11001,
'getaddrinfo failed')
Can't connect to mail.prettel.nl:110: (11001, 'getaddrinfo
failed')
Can't connect to pop.unlimitedmail.org:110: (11001,
'getaddrinfo failed')
Can't connect to mail.runbox.com:110: (11001, 'getaddrinfo
failed')
Can't connect to mail.bluebottle.com:110: (11001,
'getaddrinfo failed')
Can't connect to mail.prettel.nl:110: (11001, 'getaddrinfo
failed')
Can't connect to mail.runbox.com:110: (11001, 'getaddrinfo
failed')
warning: unhandled exception
warning: unhandled exception
warning: unhandled exception
warning: unhandled exception
warning: unhandled exception
warning: unhandled exception

..and the unhandled exceptions goes on and on and on.. I
think that writing these warnings is the I/O loop I already
mentioned earlier.

Regards,
Dick

----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-02-03 14:59

Message:
Logged In: YES 
user_id=552329

Ah, the unhandled exception bits are very interesting!

Could you please attach an example of such a log to the tracker?

----------------------------------------------------------------------

Comment By: Janusz Piwowarski (jpiw)
Date: 2005-02-02 20:54

Message:
Logged In: YES 
user_id=436042

Yes, it's possible. Log file doesn't look very interesting: 

Service not available. Using thread.
Loading database... Listener on port 8110 is proxying 
pop3.go2.pl:110
User interface url is http://localhost:8880/
warning: unhandled exception
warning: unhandled exception
warning: unhandled exception
....


----------------------------------------------------------------------

Comment By: Tony Meyer (anadelonbrin)
Date: 2005-02-02 12:30

Message:
Logged In: YES 
user_id=552329

Janusz, would this also be the case for you?  (i.e. that the
POP3 server was unavailable)

I cannot duplicate this here, however.  Attaching a log file
for the period when this occured would really help.  The
troubleshooting guide explains where to find the log files.

----------------------------------------------------------------------

Comment By: Cloggy (cloggy)
Date: 2005-02-02 00:09

Message:
Logged In: YES 
user_id=1209514

I had a similar problem that last couple of days when my
mail provider was down. It seems that, when it is not
possible for sb_tray to access to the mailprovider, it
enters a CPU and I/O write loop (many many millions of I/O
writes...don't know where to but the number was really
astonishing).

I'm using Windows/XP PE SP1 and Spambayes 1.0.3.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1113863&group_id=61702


More information about the Spambayes-bugs mailing list