On Thu, 24 May 2007 16:12:28 +0200, Terry Jones <[EMAIL PROTECTED]> wrote:
I'm not sure if this belongs in Twisted Python or Twisted Web.
[snip - errors with twistd and PyLucene, unreproducable with twistd -n]
While I realize there's probably something up with PyLucene, I'm wondering
if anyone can suggest why running with twistd -n is preventing the
crashing. What else does -n do, other than (presumably) forking and
running the server in the child?
A completely wild guess is that forking is confusing PyLucene in a fatal
way. Are you importing PyLucene in the .tac file itself? If so, it may
help to avoid doing this, so that no code from PyLucene even gets a chance
to run until after the process has already daemonized.
Jean-Paul
_______________________________________________
Twisted-web mailing list
[email protected]
http://twistedmatrix.com/cgi-bin/mailman/listinfo/twisted-web