[Zope] Re: [Zope-dev] Fault tolerance and thread-loss

Chris McDonough chrism@digicool.com
Mon, 18 Dec 2000 19:53:05 -0500


Start Zope with the z2.py command line option "-M var/detailed.log"

e.g. ./start -M var/detailed.log

Detailed.log will contain a transcript of all requests processed by the
server and their responses.  If you see a method call without "end of
request", that's probably the point that the thread is leaking.

----- Original Message -----
From: "Jay, Dylan" <djay@avaya.com>
To: "'Chris McDonough'" <chrism@digicool.com>
Sent: Monday, December 18, 2000 7:26 PM
Subject: RE: [Zope-dev] Fault tolerance and thread-loss


> How can I do that when I can't get into the interface because there are no
> threads left? How do you suggest I debug it?
>
> > -----Original Message-----
> > From: Chris McDonough [mailto:chrism@digicool.com]
> > Sent: Tuesday, 19 December 2000 11:45 AM
> > To: Jay, Dylan; zope-dev@zope.org
> > Subject: Re: [Zope-dev] Fault tolerance and thread-loss
> >
> >
> > No.  You shouldn't be leaking threads.  Can you trace the
> > thread leakage
> > down to a single Product?
> >
> > ----- Original Message -----
> > From: "Jay, Dylan" <djay@avaya.com>
> > To: <zope-dev@zope.org>
> > Sent: Monday, December 18, 2000 7:00 PM
> > Subject: [Zope-dev] Fault tolerance and thread-loss
> >
> >
> > > I'm finding that my installation is blocking all requests
> > after awhile. By
> > > best guess would be that threads are being used and somehow becoming
> > > permanently blocked. When all 4 are gone then the server is
> > useless and
> > has
> > > to be restarted.
> > >
> > > Seems to me this is a real problem for fault tolerance.
> > Perhaps a monitor
> > > should be run on a separate thread that starts aborting
> > transactions when
> > > they have been running too long and there are few remaining threads.
> > >
> > > Does this exist already?
> > >
> > > ----
> > > Dylan Jay                           mailto:djay@avaya.com
> > > Avaya Communication                 Tel:   +61 2 9886-8961
> > > Level 5, 15 Talavera Road           FAX:   +61 2 9352 9224
> > > Nth Ryde NSW 2113                   Mobile:0409 606 171
> > > AUSTRALIA
> > >
> > > _______________________________________________
> > > Zope-Dev maillist  -  Zope-Dev@zope.org
> > > http://lists.zope.org/mailman/listinfo/zope-dev
> > > **  No cross posts or HTML encoding!  **
> > > (Related lists -
> > >  http://lists.zope.org/mailman/listinfo/zope-announce
> > >  http://lists.zope.org/mailman/listinfo/zope )
> > >
> > >
> >
>