[Twisted-Python] Results of stress testing the reactor
itamar at itamarst.org
Wed Nov 30 12:10:36 EST 2005
On Wed, 2005-11-30 at 10:36 -0600, Keith.Gunderson at act.org wrote:
> Everything works as expected until I get about 300 virtual users hitting
> the site somewhat simultaneously. (Approx. 200 hits per second.) At which
> point the reactor kind of explodes. The following traceback races from the
> console (probably in an infinite loop.) This may not be unexpected or
> significant, but I found it interesting.
> exceptions.ValueError: too many file descriptors in select()
select() on Windows is limited to 512 file descriptors; there's not much
Twisted can do about this. The IOCP reactor should scale better, but it
is still work in progress so it may be buggy (though I'd expect it to
run this program just fine).
More information about the Twisted-Python