ValueError: filedescriptor out of range in select()
google at mrabarnett.plus.com
Tue Mar 17 17:20:20 CET 2009
Laszlo Nagy wrote:
>> Hi Laszlo,
>> Just a hunch -- are you leaking file handles and eventually running out?
> These file handles are for TCP sockets. They are accept()-ed, used and
> then thrown out. I guess after the connection was closed, the file
> handle is destroyed automatically. BTW here is the shutdown() method for
> socket based endpoints:
> def shutdown(self):
> except socket.error:
> This method is called after the connection has been closed. Is is
> possible that somehow the file handles are leaking?
Here's an interesting post:
More information about the Python-list