[prev in list] [next in list] [prev in thread] [next in thread] 

List:       python-list
Subject:    Re: filedescriptor out of range in select()
From:       Paolo Invernizzi <paoloinvernizzi () dmsware ! com>
Date:       2003-06-30 13:29:51
[Download RAW message or body]

Paolo Invernizzi wrote:

> Steve Holden wrote:
> 
>> I suspect that the "too many open files" is simply a symptom of a deeper
>> problem, in that your sockets aren't being correctly closed due to a
>> programming error. The asyncore framework will happily continue to run 
>> even
>> if errors occur in the event-handling routines, cneatly demonstrating the
>> dangers of an unlimited "try:/except:".
>>
>> There's a clear implication here that a BayesProxy instance isn't running
>> its __init__() method, because if it *were* running it the isClosed
>> attribute would be defined.
> 
> 
> I'll check this today...
> 

I've added a simple print at the end of the __init__ method...
The __init__ is called when fetchmail query the pop3proxy...

;-(

---
Paolo

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/
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=11, family=2, type=1, 
protocol=0>,<socket object, fd=11, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=21, family=2, type=1, 
protocol=0>,<socket object, fd=21, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=11, family=2, type=1, 
protocol=0>,<socket object, fd=11, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=31, family=2, type=1, 
protocol=0>,<socket object, fd=31, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=31, family=2, type=1, 
protocol=0>,<socket object, fd=31, family=2, type=1, 
protocol=0>,kpnqwest.it,110)
BayesProxy::__init__(<socket object, fd=10, family=2, type=1, 
protocol=0>,<socket object, fd=10, family=2, type=1, 
protocol=0>,kpnqwest.it,110)



-- 
http://mail.python.org/mailman/listinfo/python-list
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic