468,471 Members | 1,622 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,471 developers. It's quick & easy.

filedescriptor out of range in select()

Spambayes CVS, Python 2.2.3, FreeBSD 5.1

On my machine I'm lunching the pop3proxy with cron at startup, and all
is fine.

But... sometimes during startup, or after a one or two days, the process
exits with the following error...

Is a BSD select related problem? Is an asyncore problem? Is a spambayes
problem?

Someone has observed similar behavior with asyncore?

Thanks in advance
====
Running the pop3proxy, lanched by cron at startup, works fine, but

SpamBayes POP3 Proxy Beta1, version 0.1 (May 2003),
using SpamBayes POP3 Proxy Web Interface Alpha2, version 0.02
and engine SpamBayes Beta1, version 0.1 (May 2003).

Loading database... Done.
SMTP Listener on port 2525 is proxying 127.0.0.1:25
Listener on port 8110 is proxying kpnqwest.it:110
User interface url is http://localhost:8880/
Traceback (most recent call last):
File "/usr/local/bin/pop3proxy.py", line 731, in ?
run()
File "/usr/local/bin/pop3proxy.py", line 725, in run
main(state.servers, state.proxyPorts, state.uiPort, state.launchUI)
File "/usr/local/bin/pop3proxy.py", line 664, in main
Dibbler.run(launchBrowser=launchUI)
File "/usr/local/lib/python2.2/site-packages/spambayes/Dibbler.py",
line 528, in run
asyncore.loop(map=context._map)
File "/usr/local/lib/python2.2/asyncore.py", line 206, in loop
poll_fun (timeout, map)
File "/usr/local/lib/python2.2/asyncore.py", line 83, in poll
r,w,e = select.select (r,w,e, timeout)
ValueError: filedescriptor out of range in select()

---
Paolo Invernizzi
pa*************@dmsware.com

Jul 18 '05 #1
0 2394

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

4 posts views Thread by Bill R via AccessMonster.com | last post: by
4 posts views Thread by IMS.Rushikesh | last post: by
1 post views Thread by sarada7 | last post: by
reply views Thread by NPC403 | last post: by
1 post views Thread by kmladenovski | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.