[Twisted-Python] Re: twisted threading server has to be stopped with KILL

snacktime snacktime at gmail.com
Tue Feb 8 14:21:14 EST 2005

Interesting.  When running the application via twistd -noy config.tac,
the server will stop if I hit control-C, but only after the next
request from the client comes through.  If the server has not yet
processed a connection, then it shuts down ok with control-C.


On Tue, 8 Feb 2005 11:17:43 -0800, snacktime <snacktime at gmail.com> wrote:
> I have a server that uses threads, and when run standalone or via
> twistd as an application I have to send it a KILL signal if it has
> already answered at least one request.  Or in some cases if I just
> send it an INT it will stop if it's currently handling a lot of
> requests at the time I send it the signal.  Seems like there is
> something I am not doing here that I should be when  using threads?
> Chris

More information about the Twisted-Python mailing list