Thanks for the information. Looks pretty conclusive. Thinking about it, I reckon I must be leaking connections. So I'll go and look.
Thanks again John Aherne On Tue, Mar 3, 2009 at 5:24 PM, Itamar Shtull-Trauring <ita...@itamarst.org>wrote: > John Aherne wrote: > >> I have started to get this message coming up on a fairly regular basis >> now. >> >> I have an application that is very simple and has run by and large without >> problem for about 7 months. But over the pas 4 - 6 weeks has started to >> produce this error 'too many file descriptors in select'. The application >> basically falls over at this point, since it can't service any more >> requests. >> > Assuming that you've made sure you aren't leaking any connections, you are > still faced with the problem of that the select module on Windows is limited > to 512 file descriptors. Your options: > > 1. Switch to Linux, where you can use other reactors with a much higher > limit, e.g. epoll. > 2. Use the IOCP reactor on Windows, which isn't as well tested and is > missing some features, in particular SSL support. > 3. Recompile the select module on Windows with a higher limit; basically > it's some C constant you redefine, it's probably right at the top of the > file. You just get the Python tarball, and rebuild the appropriate module > (or everything and just extract the appropriate PYD). > > -Itamar, still living the voice-recognition life > > > _______________________________________________ > Twisted-Python mailing list > Twisted-Python@twistedmatrix.com > http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python >
_______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python