[Pulp-list] pulp debugging
jason.dobies at redhat.com
Tue Mar 8 19:48:52 UTC 2011
-----BEGIN PGP SIGNED MESSAGE-----
On 03/07/2011 08:26 PM, Jason L Connor wrote:
> 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.
This is pretty cool, thanks for setting this up. If I wanted to do this
more than once, would I have to delete the contents of stacktrace-dump
or can I just touch it again and have it overwrite?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/
-----END PGP SIGNATURE-----
More information about the Pulp-list