On Sun, 31 May 2009 15:18:50 -0500, travis+ml-twis...@subspacefield.org wrote: >On Sat, May 30, 2009 at 08:26:40PM -0400, Jean-Paul Calderone wrote: >> Creating the reactor at all may create a file descriptor which is necessary >> for its operation. Closing these will very likely cause problems. > >This is all before calling any Twisted routines
It's pretty easily to unintentionally import and instantiate the default reactor. Are you certain daemonization all happens before that? >> Also, Twisted has daemonization features already which are known to work >> well. ;) Why aren't you using these? > >Hadn't heard about it. Where's the documentation? It's a feature of twistd. http://twistedmatrix.com/projects/core/documentation/howto/tap.html and http://twistedmatrix.com/projects/core/documentation/howto/application.html talk about how to structure your code so as to be able to take advantage of the features of twistd. Jean-Paul _______________________________________________ Twisted-Python mailing list Twisted-Python@twistedmatrix.com http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-python