filedescriptor out of range in select()

Discussion in 'Python' started by Paolo Invernizzi, Jun 26, 2003.

  1. 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
     
    Paolo Invernizzi, Jun 26, 2003
    #1
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrew Bennetts

    Re: filedescriptor out of range in select()

    Andrew Bennetts, Jun 26, 2003, in forum: Python
    Replies:
    5
    Views:
    5,966
    Paolo Invernizzi
    Jun 30, 2003
  2. Replies:
    46
    Views:
    1,356
    Antoon Pardon
    Jul 25, 2006
  3. Replies:
    1
    Views:
    487
    Jack Klein
    Sep 16, 2006
  4. Laszlo Nagy
    Replies:
    0
    Views:
    513
    Laszlo Nagy
    Mar 17, 2009
  5. k3xji
    Replies:
    5
    Views:
    909
    Steven D'Aprano
    Sep 16, 2010
  6. palmiere
    Replies:
    1
    Views:
    696
    Erwin Moller
    Feb 9, 2004
  7. bob smith

    FileDescriptor

    bob smith, Oct 12, 2012, in forum: Java
    Replies:
    4
    Views:
    415
    Arne Vajhoej
    Oct 13, 2012
  8. bob smith

    RAM FileDescriptor

    bob smith, Oct 15, 2012, in forum: Java
    Replies:
    13
    Views:
    673
    David Lamb
    Oct 17, 2012
Loading...