Opened 13 years ago

Last modified 7 years ago

#2646 enhancement new

twistd should write a pidfile on win32

Reported by: Jean-Paul Calderone Owned by: PenguinOfDoom
Priority: normal Milestone:
Component: core Keywords: twistd
Cc: Trent.Nelson Branch:
Author:

Description

Currently _twistd_unix.py takes responsibility for checking and writing pidfiles. This means Windows doesn't do anything with pidfiles at all. At the very least, we can write one.

Change History (6)

comment:1 Changed 12 years ago by zooko

Here is a related ticket on the allmydata.org "tahoe" trac:

http://allmydata.org/trac/tahoe/ticket/27 -- "twistd doesn't daemonize on windows"

We currently have a work-around in place for our win32 product, but there are also a few technical details in that ticket that may be interesting.

comment:2 Changed 12 years ago by zooko

I guess this is related to #102 -- "Support running Twisted code as NT services on Win32." -- and perhaps to [6678] and [17973].

comment:3 Changed 12 years ago by Trent.Nelson

Cc: Trent.Nelson added

Personally I think effort should be put into running twisted as a service on Windows, rather than replicating Unix type functionality. There really shouldn't be any need on win32 for twistd.pid if using a well written service.

comment:4 Changed 10 years ago by Glyph

Owner: changed from Glyph to PenguinOfDoom

comment:5 Changed 9 years ago by Jean-Paul Calderone

Keywords: twistd added

comment:6 Changed 7 years ago by zooko

David-Sarah thinks, just because there's been no activity on this ticket in the last five years, that this means Twisted hackers are not going to fix this. What a thing to think! https://tahoe-lafs.org/trac/tahoe-lafs/ticket/27#comment:23

Note: See TracTickets for help on using tickets.