[Twisted-Python] SIGBREAK on windows
jacob at internet24.de
Wed Sep 27 04:32:24 EDT 2006
Twisted's default reactor on Windows shuts down when receiving a
SIGBREAK (a Windows specific signal) (see
so that you can hit CTRL-BREAK on a twisted app in a Windows console to
shut the app down.
So AFAIK you or someone else probably just hit ^C/^BREAK, but maybe
there are other ways to raise SIGBREAK...
On Tue, 2006-09-26 at 17:32 -0700, Jacob Gabrielson wrote:
> Has anyone run into a problem where their Twisted application gets a
> SIGBREAK and shuts down, on Windows? I have a simple application using
> the ReconnectingClientFactory, running as a service (via srvany.exe),
> that occasionally dies with a few messages:
> 2006/09/24 16:46 Pacific Daylight Time [-] Received SIGBREAK, shutting
> 2006/09/24 16:46 Pacific Daylight Time [AgentProtocol,client]
> <twisted.internet.tcp.Connector instance at 0x00A1B468> will retry in 2
> 2006/09/24 16:46 Pacific Daylight Time [AgentProtocol,client] Stopping
> factory <twisted.internet.protocol.ReconnectingClientFactory instance at
> 2006/09/24 16:46 Pacific Daylight Time [-] Main loop terminated.
> There's not a lot to go on, but I'm wondering if this is something
> anyone else has run into on Windows. I'm not really sure how a SIGBREAK
> could get generated there in the first place.
> -- Jacob
> Twisted-Python mailing list
> Twisted-Python at twistedmatrix.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 191 bytes
Desc: This is a digitally signed message part
Url : http://twistedmatrix.com/pipermail/twisted-python/attachments/20060927/064462ff/attachment.pgp
More information about the Twisted-Python