[Zope-dev] Python Method infinite loop?
Jeff K. Hoffman
jeff.hoffman@goingv.com
Mon, 13 Mar 2000 09:48:35 -0500 (EST)
On Sat, 11 Mar 2000, Martijn Pieters wrote:
> From: "Jeff K. Hoffman" <jeff.hoffman@goingv.com>
> > While I'm on the topic, is there any way to figure out WHAT thread is
> > stuck in a loop? ie. If this were a Python Method that only looped every
> > third tuesday of the fifth leap year per century, is there a way for me to
> > identify what went awol, either using the monitor, or manage_debug, or...?
>
> /Control_Panel/manage_debug lists open ZODB connections, and the REQUEST
> that is active on that connection. So, if connections aren't freed for a
> long time, you can see what caused this.
>
> The info you get is:
>
> <time started> <REQUEST. (<cache size>)
That's what I was looking for. Thanks Martijn.
--Jeff
---
Jeff K. Hoffman 704.849.0731 x108
Chief Technology Officer mailto:jeff@goingv.com
Going Virtual, L.L.C. http://www.goingv.com/