[Zope] ZServer Must Be Continually Re-Started

Chris McDonough chrism@digicool.com
Fri, 11 May 2001 15:22:05 -0400


Note that there is probably not one single cause (or solution) for all of
the reported "Zope hangs on me" issues.

The requestprofiler module (part of the most recent Zope CVS checkout in the
/utilities directory) is a reasonable place to start to try to track down a
pattern to the hangs.  I've put it up separately at
http://www.zope.org/Members/mcdonc/HowTos/DEBUG-LOG/requestprofiler.py so
people can make use of it before 2.4 comes out.  Make sure to read the
documentation it has available via the --help switch.  You need to turn on
"big M" logging (via the -M switch in z2.py) to have something which the
script can parse and profile.

- C

----- Original Message -----
From: "Will Dennis" <willd@p-wave.com>
To: <zope@zope.org>
Sent: Friday, May 11, 2001 2:30 PM
Subject: [Zope] ZServer Must Be Continually Re-Started


> Hello,
>
> I have the same (?) problem with a site running on our Zope server (Zope
> 2.3.0) -- The site just hangs from time to time (the Zope processes are
> still running, and not taking any more memory than usual, but ZServer is
> not responding to GET requests.) A stop/start cures the problem (until
> it happens again.) This site is a popular site, and gets spidered a lot,
> so I wonder if it is a thread consumption problem. I have written a
> Python script to monitor a Zope installation (authored it for just this
> problem) that is available from my Zope.org page,
> http://www.zope.org/Members/willdawg .
>
> I'd love to know why this occurs, if someone figures it out...
>
> Thanks,
>
> Will Dennis
> P-Wave, Inc.
>
>
> _______________________________________________
> Zope maillist  -  Zope@zope.org
> http://lists.zope.org/mailman/listinfo/zope
> **   No cross posts or HTML encoding!  **
> (Related lists -
>  http://lists.zope.org/mailman/listinfo/zope-announce
>  http://lists.zope.org/mailman/listinfo/zope-dev )
>