[Twisted-Python] Deadlocks when launching processes - how to investigate?

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Sat Feb 15 18:32:30 MST 2014


On 15 Feb, 07:58 pm, glyph at twistedmatrix.com wrote:
>
>The one thing that confused me was that the sample program appeared to 
>be running the program only once a second, and waiting for it to 
>complete before running it again.

I think it's more like 81 processes once a second and *not* waiting for 
them to complete before starting over.  Notice the lack of yields in key 
places.  I suspect inlineCallbacks has gradually eaten out the part of 
your brain that recognizes that keyword. ;)

Jean-Paul



More information about the Twisted-Python mailing list