[Zope3-dev] How to debug zope3 if it completely hangs?

Benji York benji at zope.com
Sun Jul 1 16:01:51 EDT 2007


Fabio Tranchitella wrote:
>   My question is easy: I don't know how to investigate the problem when my
> Zope instance is not responsive anymore. I tried to use PDB, GDB and
> friends but without success.

One of GDB's friends is strace.  It can be very helpful in situations 
like yours.  Use the -p option to attach to the running process to see 
what's going on.

See also 
http://www.upfrontsystems.co.za/Members/jean/zope-notes/debug-spinning-zope 
  and http://svn.python.org/view/python/trunk/Misc/gdbinit?view=markup.
-- 
Benji York
Senior Software Engineer
Zope Corporation


More information about the Zope3-dev mailing list