How to capture PStack Trace for Autosys WCC and collectors
search cancel

How to capture PStack Trace for Autosys WCC and collectors

book

Article ID: 259516

calendar_today

Updated On:

Products

CA Workload Automation AE

Issue/Introduction

We are having an issue with WCC and the Collector taking a log of CPU and sometimes hanging.
How can we investigate this?

Environment

Autosys 12.x
WCC 12.x

Resolution

If you can connect to the machine when the WCC /Collector is having an issue you can do the below to capture a Pstack trace.

kill -3 `ps -few|grep CA_WCC_INSTALL_LOCATION |grep -v grep |awk '{print $2}'`

kill -3 `ps -few|grep com.ca.wcc.collector.CollectorApplication |grep -v grep |awk '{print $2}'`

It sends the stack into the CA-wcc.log / collector logs.    
You can repeat the above commands about 30 seconds apart,  6 times (so we have like 3 minutes of coverage) for us to see if that gives us any clues as to why it is that hung.

Open a case and attach the stack trace