![](https://secure.gravatar.com/avatar/d6328babd9f9a98ecc905e1ccac2495e.jpg?s=120&d=mm&r=g)
Oct. 15, 2008
6:29 a.m.
On 03:40 am, krokodil@gmail.com wrote:
On Oct 14, 2008, at 20:31, Vadim Zaliva wrote:
The specific problem is that a pipe file descriptor, internal to the reactor, has been closed. The reactor is not expecting this to happen, and it shouldn't, since it never closes it.
Could it be related to permissions? I am demonizing my program standard way, closing all open descriptors, chdir(/), etc. Where the FIFO is created normally?
This is the daemonisation code I am using:
It seems that it is causing the problem.
The "twistd" tool included with Twisted has many features, including daemonization. You shouldn't need to use something like this to get a twisted daemon running.