[Zope-dev] TCP CLOSE_WAIT leaks

Alan Milligan alan at balclutha.org
Tue Apr 4 07:19:18 EDT 2006


Dieter Maurer wrote:

> Looks as if your Python were compiled without debugging symbols.
> You will get much better tracebacks (easier to understand),
> when you rebuild your Python with debugging symbols.

But of course, it's a production system :( - temporarily installing
python-debuginfo ...

> 
> The following GDB macros can be used to help in the analysis.
> "pfr" can be called in frames "eval_frame" to learn
> about the Python frame.
> 
> def ps
> x/s ({PyStringObject}$arg0)->ob_sval
> end
> 

Dieter, I don't know where you manage to find this stuff!!

Have stuck it in my .gdbinit and am knocking myself out with it...

Cheers, Alan



More information about the Zope-Dev mailing list