In your previous mail you wrote:

   I increased the number of file descriptors on my Debian/Linux machine
   (for an application which requires a lot of them) and a side effect is
   that it breaks DNSpython:
   
=> in fact it breaks all applications using select().

   ValueError: filedescriptor out of range in select()
   
=> select() is hard coded to the 1024 maximum number of file descriptors.

   I allow 40,000 descriptors. May be DNSpython has a hardwired limit
   somewhere?
   
=> IMHO there are two solutions:
 - fix the select() implementation on Linux
 - simply move to epoll which has still good performance with a large
  amount of file descriptors (note on FreeBSD it should be kevent, Python
  has an improved select-like variant for each modern OS)

Regards

[EMAIL PROTECTED]

PS: I am unfortunately well informed about how to support a large amount
of socket descriptors on different OSs...
_______________________________________________
dnspython-users mailing list
[email protected]
http://howl.play-bow.org/mailman/listinfo.cgi/dnspython-users

Reply via email to