DeadlockDebugger

Warning
This product has not had a release in over 1 year and may no longer be maintained.
by Third Party Developer last modified Feb 16, 2011 02:12 AM

This product adds a hook so that a deadlocked Zope process can be debugged, by dumping a traceback of all running python processes.

Project Description

The dump is sent to the event log (at the DEBUG level) and returned to the browser (even though the Zope is deadlocked and doesn't answer any other requests!).

DeadlockDebugger can of course also be used to debug Zope in non-deadlock situations, when a Zope process is taking a long time and you wish to know what code is being executed.

DeadlockDebugger was written by Florent Guillaume.

Installation instructions

  • Download DeadlockDebugger and place it in your Products directory
  • Edit the DeadlockDebugger/custom.py to:
    • ACTIVATED = True
    • SECRET = 'yourpassword' # you must change this
    • ...and save the file
  • Download threadframe
  • Install it in the Python you use to run Zope like this:
    • cd threadframe-0.2
    • python2.4 setup.py install (you might have to use sudo, depending on your setup)
  • Restart Zope
  • Go to http://yourzope/manage_debug_threads?yourpassword
  • It will then dump the what each of the threads is currently doing, normally giving you good clues about what your application is up to
Make sure you deactivate it after using it, and do not leave it installed/enabled on production servers, as it is a potential security risk.


Current Release
DeadlockDebugger 1.0

Released Jun 07, 2006

Initial release.
More about this release…

Download file Get DeadlockDebugger for all platforms
Product Package
Download file Get DeadlockDebugger for all platforms
The threadframe Python module; also has precompiled Windows binaries
If you are using Plone 3.2 or higher, you probably want to install this product with buildout. See our tutorial on installing add-on products with buildout for more information.

All Releases

Version Released Description Compatibility Status
1.0 Jun 07, 2006 Initial release. More about this release… final

Comments (0)