[ZODB-Dev] [Problem] strange state after SIGSEGV

Dieter Maurer dieter at handshake.de
Mon Mar 22 04:06:54 EST 2004


This problem report is for Zope 2.7.0, Python 2.3.3, Linux 2.4.19.

After an application provoked SIGSEGV (caused by a C runtime stack overflow),
my Zope process entered a strange (and unhealthy) state:

  Zope did not die completely (as it should have done) but only partially:
  One of the threads had disappeared, the others where in
  the following state:

    *  their parent pid has been set to "1"

    *  attaching with "GDB" was only allowed as "root"

    *  at least two of the three remaining processes were waiting in "accept"

    *  they would not die on SIGTERM but only SIGKILL

  Consequences:

    *  Zope did no longer respond to requests

    *  "stop" did not work (as "SIGTERM" was ineffective)

    *  "start" did not work, as the dangling processes kept
       the HTTP port bound.


Anyone with some understanding what can cause such a strange state?

-- 
Dieter



More information about the ZODB-Dev mailing list