[Twisted-Python] spawnProcess - reapProcess not retrying on failures

exarkun at twistedmatrix.com exarkun at twistedmatrix.com
Tue Sep 2 07:50:52 MDT 2014


On 01:38 pm, jmp at editshare.com wrote:
>
>FWIW, looking at your original code, you may also want to call your 
>Deferreds in a reactor.callLater.  I learned the hard way that if you 
>callback a Deferred from processEnded and the callback spawns another 
>process, your process will still be Twisted's process table even though 
>it's dying.
>>
>>----------
>>
>>I dig deeper and I found out that since I was using
>>reactor.run(installSignalHandlers=False)  _SIGCHLDWaker was not
>>installed.
>>
>>I have switched to using just reactor.run() and the process is now 
>>killed.
>
>Without my workaround, I continue to have the problem with the 
>gtk2reactor.

Have you reported this bug?

Jean-Paul




More information about the Twisted-Python mailing list