[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [Pulp-list] pulp debugging



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

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?

- -- 
Jay Dobies
RHCE# 805008743336126
Freenode: jdob
http://pulpproject.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.14 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJNdogjAAoJEOMmcTqOSQHCWioH/2kwmSp4iGgUo8bTi49pU7NV
WTzo4jBu9FnHC1LoeU0vc8FblyLztcgUjC3Y/WAAuFcK5nN9InoDUN7Vlntw/2oz
B8tIWPhnczsDQ9uhS5yQTidz43kVQdKvU098nq7dFn8WiIzNqZCtb/CxABUrTexM
fSuv/joxiL8pRQhr7KoLhKYCipJKsu6JIuBzj5xJwhLY5Wt82POtRO4TxQI+qbNk
Xdv/aDlvHDrcT8o3LvfHwB3BpfI8vbgJaDWIKB3tT/x3Mn4Fic9EImZjUMNBrg7k
3jWd/yjy3YoAkqe6D3PltEDgsGofZM2JEhOCNz6dF3y+XsD79KFFUXe7FlY60SE=
=2Z2b
-----END PGP SIGNATURE-----


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]