[Twisted-Python] twisted run out of file descriptors

Anthony Baxter anthony at interlink.com.au
Tue Oct 26 03:12:27 MDT 2004


Alec Matusis wrote:
> I thought it would be faster with select() rather than poll() - lower load
> on the machine?

Not for any realistic application. On some platforms, select is just a
wrapper around poll, anyway.

select is fundamentally flawed for large numbers of FDs. Use poll.

Anthony

-- 
Anthony Baxter     <anthony at interlink.com.au>
It's never too late to have a happy childhood.




More information about the Twisted-Python mailing list