filedescriptor out of range in select()

Paolo Invernizzi paoloinvernizzi at dmsware.com
Thu Jun 26 09:45:19 CEST 2003


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
paoloinvernizzi at dmsware.com







More information about the Python-list mailing list