How to run pstack and gcore against splunkweb python process? I need to troubleshoot a splunkweb hanging issue.
Here is what i found:
when you have a case of "slunkweb" hangs, you can ask the customer to do the following:
./splunk status
Get the pid of splunkweb.
then run:
pstack pid > splunkweb.pstack
This will create a file named splunkweb.pstack.
Then run:
gcore pid
This will create a file named core.pid. Upload these files to support and one of our friendly dev's will somehow get their hands on them.
.gz
what Gerald said the first post!
Here is what i found:
when you have a case of "slunkweb" hangs, you can ask the customer to do the following:
./splunk status
Get the pid of splunkweb.
then run:
pstack pid > splunkweb.pstack
This will create a file named splunkweb.pstack.
Then run:
gcore pid
This will create a file named core.pid. Upload these files to support and one of our friendly dev's will somehow get their hands on them.
.gz
(I mean, I realize you'll be looking at the core/stack of the Python interpreter [running CherryPy], but I guess you got http://wiki.python.org/moin/DebuggingWithGdb to help)
Not sure what exactly you're trying to do, but is it any more complicated than just calling pstack
or gcore
passing it the SplunkWeb process id number?