ValueError: filedescriptor out of range in select()

Richard Brodie R.Brodie at rl.ac.uk
Tue Mar 17 11:24:48 EDT 2009


"Laszlo Nagy" <gandalf at shopzeus.com> wrote in message 
news:mailman.2032.1237300298.11746.python-list at python.org...

> This method is called after the connection has been closed. Is is possible that somehow 
> the file handles are leaking?

If I understand correctly, you call shutdown() but not close() in
response to a remote disconnect. That is likely to leak handles.
Check with lsof (or one of the Sysinternals tools on Windows). 





More information about the Python-list mailing list