This information is also available in the Control Panel's debug section. You can see which thread is busy doing what ... Depending on exactly how "locked up" it is, you can try going there, see what the current requests are pending, and in which thread. That panel also shows you cache information, how many objects are loaded and so on. This could help you determine if you're leaking references to certain objects for instance? J.F. -----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of Brian Sullivan Sent: January 17, 2007 2:06 PM To: Zope Users Subject: Re: [Zope] pool_size On 1/17/07, Maciej Wisniowski <maciej.wisniowski@coig.katowice.pl> wrote:
Ok so I have DeadlockDebugger installed and running ( I think) -- it produces an on screen "dump" that looks the following (this is under "normal" circustances -- without the failure that I was trying
to debug happening). I am just trying to get a feel for what I am seeing. I see this same information every time -- so I am assuming that this
is the norm? What you see is traceback from all your zope threads. This is traceback from thread 3396:
Thread 3396: File "C:\Program Files\Zope-2.9.1\lib\python\ZServer\PubCore\ZServerPublisher.py", line 19, in __init__ name, request, response=accept() File "C:\Program Files\Zope-2.9.1\lib\python\ZServer\PubCore\ZRendezvous.py", line 73, in accept l.acquire()
This shows that thread 3396 is not busy now (waiting in acquire function).
Thread 1848 does something different. I'm not sure but maybe this is a
main thread under windows or something like that.
I am presuming there will be different information if I am in the throes of the cpu pegging event I am trying to debug?
As soon as your Zope will be doing something (rendering page etc.) you'll see different results.
Try to write a long running script, execute this, and then check deadlock debugger. You should see that one thread is busy. You just need to have your zope under some load.
OK - thanks - I will keep poking. _______________________________________________ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )