[Twisted-Python] Reactor Spinning?
Itamar Turner-Trauring
itamar at itamarst.org
Tue May 4 14:30:17 MDT 2010
>
> Hey Twisted folks,
>
> I'm using the twisted.web framework for a high performance HTTP proxy
> server that very closely resembles the HTTP proxy server example that
> comes with the twisted package.
>
> Under heavy load, I occasionally run into a problem where the reactor
> appears to start spinning on an "empty" write. An strace of the process
> reveals these system calls:
Can you produce a minimal reproducing example of a program that has this
issue? I can imagine a code bug where you're calling
transport.resumeProducing() or startWriting() sometime when you shouldn't,
except the empty write() does look wrong... a minimal code sample would
help.
More information about the Twisted-Python
mailing list