KBEC-00312 - Get Thread dumps in Windows

Summary

You are running into issues where your Commander server is suddenly slowing down or some API requests taking way too long to complete. You need some help narrowing down what could be stalling this operation. 

Solution

Thread dumps: These are sometimes printed into Commander server logs, but during an issue, its best to get a few of these thread dumps every 30 seconds to 1 minute.

These results will get printed into the service.log and will help narrow down what threads are unavailable or stalled. 

How to get Thread dumps

To get the thread dump as explained in http://wrapper.tanukisoftware.com/doc/english/prop-thread-dump-control-code.html do steps below:
1. Run the command:
"sc control CommanderServer 255"
This will log the thread dump to C:\ProgramData\Electric Cloud\ElectricCommander\logs\service.log.
2. Wait for 30 seconds.

Note: 30 seconds is just an example. Depending on how long the slowness is or if the slowness is due to a burst of requests received by Flow server, this may have to be altered to 5 or 10 second intervals. Please follow the interval given by agent.


3. Do step A
4. Do step B and C , 10 times

All the thread dumps will be logged to the C:\ProgramData\Electric Cloud\ElectricCommander\logs\service.log.

Please send us:
- Zip and send the service.log file ( and if it rolled over then the recent server*.log.zip file which got rolled over).
- Commander log files.

See Also

KBEC-00311 - Get Thread dumps in Linux

Applies to

  • All Product versions
  • Windows OS versions
Have more questions? Submit a request

Comments

Powered by Zendesk