[spambayes-bugs] [ spambayes-Bugs-1475119 ] Crash with "Too many open files"

SourceForge.net noreply at sourceforge.net
Wed Apr 26 17:55:43 CEST 2006


Bugs item #1475119, was opened at 2006-04-23 19:16
Message generated for change (Comment added) made by lykoszine
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=498103&aid=1475119&group_id=61702

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: pop3proxy
Group: 1.1.x
>Status: Open
Resolution: None
Priority: 5
Submitted By: Samuel Wright (lykoszine)
Assigned to: Nobody/Anonymous (nobody)
Summary: Crash with "Too many open files"

Initial Comment:
Hi Guys,

Recently started running Spambayes on Zenwalk Linux,
with  python 2.4.3.

It's looking pretty good, and after training with 100
spam and 300 ham I get very good accuracy.

The problem is that sb_server.py keeps crashing every
few hours. Error message below.

Help appreciated.

Sam

error: uncaptured python exception, closing channel
<__main__.BayesProxyListener listening :8110 at
-0x48a762d4> (socket.error:(24, 'Too many open files')
[/usr/lib/python2.4/asyncore.py|read|69]
[/usr/lib/python2.4/asyncore.py|handle_read_event|385]
[/usr/lib/python2.4/site-packages/spambayes/Dibbler.py|handle_accept|289]
[/usr/lib/python2.4/asyncore.py|accept|322]
[/usr/lib/python2.4/socket.py|accept|169])
Traceback (most recent call last):
  File "/usr/bin/sb_server.py", line 1096, in ?
    run()
  File "/usr/bin/sb_server.py", line 1090, in run
    start()
  File "/usr/bin/sb_server.py", line 1027, in start
    state.close()
  File "/usr/bin/sb_server.py", line 786, in close
    self.bayes.close()
  File
"/usr/lib/python2.4/site-packages/spambayes/storage.py",
line 193, in close
    getattr(self.db, "close", noop)()
  File "/usr/lib/python2.4/shelve.py", line 140, in close
    self.sync()
  File "/usr/lib/python2.4/shelve.py", line 158, in sync
    self.dict.sync()
  File "/usr/lib/python2.4/bsddb/__init__.py", line
281, in sync
    return self.db.sync()


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

>Comment By: Samuel Wright (lykoszine)
Date: 2006-04-26 15:55

Message:
Logged In: YES 
user_id=649893

Right. It is 1.1.a1 - I must have misread the download page
- thought I was getting the latest stable, not the dev version.

If I just install over the top, will there be any issues
preserving db and settings?

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

Comment By: Tony Meyer (anadelonbrin)
Date: 2006-04-24 07:02

Message:
Logged In: YES 
user_id=552329

What version of SpamBayes is this?  If it's 1.1a1, then this
is a known bug.  Please use 1.0.4 or try 1.1a2.

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

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


More information about the Spambayes-bugs mailing list