[Pulp-list] pulp debugging

Jason L Connor jconnor at redhat.com
Tue Mar 8 01:26:09 UTC 2011

Hi all, 

I've added a new debugging feature into pulp. It's a server-side
debugging module along with a server section configuration option:
debugging_mode: <bool>. If the option is 'true', it sets part of pulp to
watch for a file called: /var/log/pulp/stacktrace-dump. Every time
someone touches the file, pulp will write the stacktraces of all active
treads out to apache's error file. The file does not need to exist when
pulp starts. However, pulp does need to respond to at least one request
before it can write the stacktraces out. The stacktraces do not
interfere with pulp's other activities.

I still plan to implement an interactive debugger that works on a
similar principal. But will need more time and design (to be effective,
it'll have to halt all the treads in the system) and implement.

I hope this helps.

Happy debugging.
Jason L Connor
linear on freenode #pulp
RHCE: 805010912355231
GPG Fingerprint: 2048R/CC4ED7C1
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 490 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/pulp-list/attachments/20110307/46060db6/attachment.sig>

More information about the Pulp-list mailing list